You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NameError: name 'SchemaExtraCallable' is not defined #1614
Now you could wonder, "why are you doing this?", and you would be right to do so. Well, I'm writing a package that automatically introspect classes and all their members to output structured data in JSON (it's pytkdocs, used by mkdocstrings to bring autodoc for MkDocs, and pytkdocs tries to support Pydantic models).
I'm just reporting for the sake of it. Maybe there's an easy fix? Maybe it's a bug in Python's typing? Maybe it's expected because SchemaExtraCallable is a forward ref in this context?
Anyway, I'm catching the error for now, so it's fine if you want to close the issue 🙂
Activity
fix: type hints on BaseConfig
fix: type hints on BaseConfig
fix: type hints on BaseConfig (#1618)
samuelcolvin commentedon Jun 9, 2020
Thanks for reporting, @PrettyWood has kindly fixed this for you.
I'll try make a release in the next week or so that includes this.