Skip to content

Conversation

@ZachHandley
Copy link

@ZachHandley ZachHandley commented Dec 29, 2023

Pull Request Overview

This PR introduces enhanced type support to the Python SDK .twig files within our codebase. While some types may still be pending, this marks a significant improvement. During testing, I encountered an issue with a ModuleNotFoundError related to 'chardet', followed by an ImportError linked to a relocation error in /app/tests/sdks/python/vendor/charset_normalizer/md__mypyc.cpython-39-x86_64-linux-gnu.so.

Testing Strategy

For testing, I relied on the existing test suite. An interesting note: my MacBook Pro exhibited unusual heating during testing, the cause of which is unclear. Additionally, the contribution guidelines could benefit from more detailed instructions on individual testing, as I found the current documentation somewhat unclear.

Associated PRs and Issues

This work relates to an issue discussed here: appwrite/sdk-for-python#43.

Acknowledgement of Contribution Guidelines

I have thoroughly read and understood the Contributing Guidelines on issues.

yeeet

Used typing because a lot of default python TypeHints are not available until 3.10. On that note, we may need to adjust Python support to 3.8 or later as Typing even has some things that may not work in 3.5.
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