Skip to content

Commit

Permalink
Fixed: pylance unable to resolve types from jsonargparse.typing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauvilsa committed Jul 17, 2023
1 parent 67e8172 commit 453a961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonargparse/_optionals.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class FinalClass:


stdlib_final = typing_extensions_import("final")
if stdlib_final and is_compatible_final(stdlib_final):
if stdlib_final and is_compatible_final(stdlib_final) and "SPHINX_BUILD" not in os.environ:
final = stdlib_final # noqa: F811


Expand Down

0 comments on commit 453a961

Please sign in to comment.