Skip to content
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

dbcore/query: remove spurious dependency on library #4827

Merged
merged 1 commit into from
Jun 24, 2023

Conversation

wisp3rwind
Copy link
Member

Slight cleanup of dbcore typings:

It seems like Querys and Sorts should really be generic over Model.

Also, make use of the postponed evaluation of annotations that we get with from future import __annotations__.

It seems like `Query`s and `Sort`s should really be generic over
`Model`.

Also, make use of the postponed evaluation of annotations that we get
with `from future import __annotations__`.
Copy link
Member

@sampsyo sampsyo left a comment

Choose a reason for hiding this comment

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

Awesome; nice work on this! And good catches in the docstrings as well.

@sampsyo sampsyo merged commit 5118240 into beetbox:master Jun 24, 2023
14 checks passed
@wisp3rwind wisp3rwind deleted the dbcore_typing_1 branch June 24, 2023 07:16
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