Skip to content

Add some type annotations#367

Open
nate-kean wants to merge 2 commits intoasfadmin:masterfrom
nate-kean:dev
Open

Add some type annotations#367
nate-kean wants to merge 2 commits intoasfadmin:masterfrom
nate-kean:dev

Conversation

@nate-kean
Copy link

Adds some type annotations in spots that were giving me trouble with my type checker.

  • 1013b5f: Added an annotation to ASFSearchResults to express that ASFProduct is the type of element it holds.
  • 839b218: Added Optional to arguments that have a default value of None. E.g., things like maxResults: int = None are now maxResults: Optional[int] = None.

Type checker used: Pylance in vscode

@nate-kean nate-kean marked this pull request as ready for review July 15, 2025 05:27
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.

1 participant