-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve type annotations in core functions #850
Merged
Merged
Commits on May 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bb62f27 - Browse repository at this point
Copy the full SHA bb62f27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 469f81b - Browse repository at this point
Copy the full SHA 469f81bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59bcb5f - Browse repository at this point
Copy the full SHA 59bcb5fView commit details
Commits on May 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5dd7919 - Browse repository at this point
Copy the full SHA 5dd7919View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e6762b - Browse repository at this point
Copy the full SHA 7e6762bView commit details -
This will improve typing when we accept user-provided arguments. Though, it mandates our users to annotate/cast the return values explicitly due to type variances. To completely resolve this issue, we have to introduce typed DTOs using pydantic or msgspec.
Configuration menu - View commit details
-
Copy full SHA for 782eb16 - Browse repository at this point
Copy the full SHA 782eb16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5079428 - Browse repository at this point
Copy the full SHA 5079428View commit details
Commits on Jun 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 71538c0 - Browse repository at this point
Copy the full SHA 71538c0View commit details
Commits on Jun 11, 2024
-
Merge branch 'master' into refactor/improve-type-anno-for-query
- `utils._AsyncCM` is completely removed and replaced with the intrinsic `contextlib._AsyncGeneratorContextManager`.
Configuration menu - View commit details
-
Copy full SHA for 6d1b21a - Browse repository at this point
Copy the full SHA 6d1b21aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05889ec - Browse repository at this point
Copy the full SHA 05889ecView commit details
Commits on Jun 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b392be6 - Browse repository at this point
Copy the full SHA b392be6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f017a6a - Browse repository at this point
Copy the full SHA f017a6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16036a9 - Browse repository at this point
Copy the full SHA 16036a9View commit details
Commits on Jun 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e2ddebe - Browse repository at this point
Copy the full SHA e2ddebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18edd51 - Browse repository at this point
Copy the full SHA 18edd51View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac0cbfc - Browse repository at this point
Copy the full SHA ac0cbfcView commit details
Commits on Jun 25, 2024
-
Use custom recursive JSON types only for arguments
- If they are used in return values, the caller should perform extra type-narrowing or casting to pick a final type from union to avoid type check failures. - In a long term, it is better to declare typed DTOs.
Configuration menu - View commit details
-
Copy full SHA for b2a7067 - Browse repository at this point
Copy the full SHA b2a7067View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22e9353 - Browse repository at this point
Copy the full SHA 22e9353View commit details -
Configuration menu - View commit details
-
Copy full SHA for d90fe6b - Browse repository at this point
Copy the full SHA d90fe6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f22e1 - Browse repository at this point
Copy the full SHA a2f22e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6232a6 - Browse repository at this point
Copy the full SHA d6232a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e81f5d0 - Browse repository at this point
Copy the full SHA e81f5d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fe9810 - Browse repository at this point
Copy the full SHA 0fe9810View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d31afb - Browse repository at this point
Copy the full SHA 5d31afbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5deb9b2 - Browse repository at this point
Copy the full SHA 5deb9b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4813783 - Browse repository at this point
Copy the full SHA 4813783View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f0dd4 - Browse repository at this point
Copy the full SHA 25f0dd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12bc4bd - Browse repository at this point
Copy the full SHA 12bc4bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fa6eb9 - Browse repository at this point
Copy the full SHA 8fa6eb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdb5b5d - Browse repository at this point
Copy the full SHA fdb5b5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d07f033 - Browse repository at this point
Copy the full SHA d07f033View commit details -
Configuration menu - View commit details
-
Copy full SHA for db0cb44 - Browse repository at this point
Copy the full SHA db0cb44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ca6a6f - Browse repository at this point
Copy the full SHA 3ca6a6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ce3d30 - Browse repository at this point
Copy the full SHA 4ce3d30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 398e04d - Browse repository at this point
Copy the full SHA 398e04dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c51f6a - Browse repository at this point
Copy the full SHA 1c51f6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63b339d - Browse repository at this point
Copy the full SHA 63b339dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c543deb - Browse repository at this point
Copy the full SHA c543debView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88412bb - Browse repository at this point
Copy the full SHA 88412bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b46a3f - Browse repository at this point
Copy the full SHA 3b46a3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c48b61 - Browse repository at this point
Copy the full SHA 3c48b61View commit details -
Configuration menu - View commit details
-
Copy full SHA for b461c4c - Browse repository at this point
Copy the full SHA b461c4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9ea317 - Browse repository at this point
Copy the full SHA e9ea317View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6ccbe0 - Browse repository at this point
Copy the full SHA d6ccbe0View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.