typing patterns for cached data results #256
-
The returned values of Trying to type the
The issue is that I need to type the return value of the function as If I type the return value, so calling functions are correct, I get a type mismatch error:
If I don't type the return value, no issue there, but I lose the benefits of typing. Does anyone have any ideas on possible solutions? I know there is no perfect solution, as a lot of this is handled through configured dogpile filters/proxies that the typing system is oblivious to. At the very least, I'd like to match the typing of the output ( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
we are working ont his over at https://gerrit.sqlalchemy.org/c/sqlalchemy/dogpile.cache/+/5270 |
Beta Was this translation helpful? Give feedback.
we are working ont his over at https://gerrit.sqlalchemy.org/c/sqlalchemy/dogpile.cache/+/5270