mypy check failed for URL/Secret typing from Config #1587
-
for this code : from starlette.config import Config config = Config(".env") URI: URL = config("URI", cast=URL, default="") when run mypy check, it failed: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Is this still an issue? We've made some typing changes over there. |
Beta Was this translation helpful? Give feedback.
-
Closing this as outdated. |
Beta Was this translation helpful? Give feedback.
Closing this as outdated.