Skip to content

Conversation

@socksy
Copy link
Contributor

@socksy socksy commented Nov 3, 2025

Resolves TOW-1131

See title :) No more needed to be done since there's already types, this just lets tooling know that there are types defined in the library itself it can use. See PEP 561

@socksy socksy changed the title TOW-1131 - add pytyped to python sdk TOW-1131 - add py.typed to python sdk Nov 3, 2025


def __getattr__(name: str) -> any:
def __getattr__(name: str):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. This should have been Any
  2. having it here meant that typechecking doesn't actually do anything meaningful, which defeats the whole point

@socksy socksy requested a review from konstantinoscs November 4, 2025 19:18
@socksy
Copy link
Contributor Author

socksy commented Nov 4, 2025

rerequesting a review @konstantinoscs because the change before was dramatically less than it is now

Copy link
Contributor

@bradhe bradhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@socksy socksy force-pushed the feature/tow-1131-add-pytyped-to-python-sdk branch from fd0800b to 1149f6b Compare November 4, 2025 20:39
@socksy socksy merged commit 367c71a into develop Nov 5, 2025
18 checks passed
@socksy socksy deleted the feature/tow-1131-add-pytyped-to-python-sdk branch November 5, 2025 16: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.

4 participants