Closed floriandorre closed 3 years ago
Hey @floriandorre -
This warning is to let the user know that the type annotation couldn't be inspected at runtime. It's not an error with typical, but rather the notation itself doesn't support runtime inspection.
In this case, typical will ignore the annotation, so it's considered safe.
There's nothing typical can do to resolve this issue within its own logic, the owner of the annotation would need to ensure that the annotation is valid at runtime, not just as a static string.
Thanks for the details, I'm closing this issue then
typical version: 2.6.4
Python version: 3.7.9
Operating System:
Edition Windows 10 Pro
Version 21H1
OS build 19043.1165
Experience Windows Feature Experience Pack 120.2212.3530.0
Description
Trying to use a package (swmmtoolbox) that has a tstoolbox dependy that has itself a typical depency, thep ackage is applying as typic.al decorator to a method returning a pandas.DataFrame.
After trying to use typic.al on a dummy method as below i get the following result :
What I Did
Output :
Pip freeze output :