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
Revision function's type annotation causes "Type is partially unknown" error. The root of the issue is that process_revision_directives's argument has been typed with Callable which is a partial type (as it lacks definition of the signature of the function).
Expected behavior
I expect the type of the process_revision_directives to be fully defined so type checkers like Pyright won't give me an error.
To Reproduce
Just write any code that imports revision and run pyright on it.
The text was updated successfully, but these errors were encountered:
Describe the bug
Revision function's type annotation causes "Type is partially unknown" error. The root of the issue is that
process_revision_directives
's argument has been typed withCallable
which is a partial type (as it lacks definition of the signature of the function).Expected behavior
I expect the type of the
process_revision_directives
to be fully defined so type checkers like Pyright won't give me an error.To Reproduce
Just write any code that imports
revision
and run pyright on it.The text was updated successfully, but these errors were encountered: