Skip to content

Conversation

tsdev
Copy link
Contributor

@tsdev tsdev commented Oct 15, 2025

Fix bug where in async the sync client was used.

Fix bug where in async the sync client was used.
@simlmx
Copy link

simlmx commented Oct 15, 2025

The repo would benefit from automatic type checking.
This bug would have been found by running something like pyright.

poetry add --group dev pyright
poetry run pyright src

shows this error:

/Users/simon/code/tensorlake/src/tensorlake/documentai/_parse.py:238:32 - error: Argument of type "Client" cannot be assigned to parameter "client" of type "AsyncClient"

(along with 200 others)

@calavera
Copy link
Contributor

Thanks for catching this! We're going to release a new version in pypi shortly with this change in.

@calavera calavera merged commit 04d5065 into tensorlakeai:main Oct 15, 2025
1 of 2 checks passed
@calavera
Copy link
Contributor

Released: https://pypi.org/project/tensorlake/

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