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

fix: annotations lazy evaluation #538

Merged
merged 2 commits into from
Jun 16, 2024
Merged

Conversation

kemingy
Copy link
Member

@kemingy kemingy commented Jun 15, 2024

from __future__ import annotations will enable the annotations lazy evaluation which changes all the annotations into strings. We have to eval these strings to get the real objects.

Signed-off-by: Keming <kemingy94@gmail.com>
Signed-off-by: Keming <kemingy94@gmail.com>
@kemingy kemingy added this pull request to the merge queue Jun 16, 2024
Merged via the queue into mosecorg:main with commit eabcfea Jun 16, 2024
18 checks passed
@kemingy kemingy deleted the fix_annotations branch June 16, 2024 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: rerank example got an error
2 participants