Skip to content

Conversation

@nikshankarnoble
Copy link
Contributor

@nikshankarnoble nikshankarnoble commented Dec 28, 2025

Problem

Completion of the work started on #377 of adding generic type hints to the Gazu codebase - more information can be found on that PR and linked discussion.

Solution

This PR adds type hints to the remaining modules in the API, and finally adds the py.typed file indicating that the module has type annotations.

As with the last PRs, along the way I've also made some minor fixes/additions to docstrings, in cases where I didn't find the types or behaviours of the arguments immediately obvious - or there was incorrect/missing info in the docstrings.

And in or two instances have added normalize_model_parameter() calls to parameters so that their functionality matches the previous docstring.

I've also standardised model parameter docstrings from dict / ID to str / dict in a couple of places so they're all the same.

@frankrousseau frankrousseau merged commit b2b6214 into cgwire:main Dec 29, 2025
10 checks passed
@nikshankarnoble nikshankarnoble deleted the chore/type-annotations-1 branch December 29, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants