-
|
If I add (btw search is not enabled in your docs) |
Beta Was this translation helpful? Give feedback.
Answered by
treykeown
Jun 28, 2023
Replies: 1 comment 2 replies
-
|
Hi! Just checked - most tests pass, but ones related to Thanks for calling out search! Still learning all the incantations for |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like #22 was just an artifact of the types being defined within a pytest fixture. Running https://github.com/treykeown/arguably/blob/main/etc/scripts/build.py with
from __future__ import annotationsat the top works just fine.To answer your question - yes, it's supported. The caveat is the normal troubles you'll encounter with using
get_type_hintswithfrom __future__ import annotations. Forarguably, classes defined in a local scope will not work for type hints.