8000 fix: Don't pop from fallback config · Thomzoy/python@bde32af · GitHub
[go: up one dir, main page]

Skip to content

Commit bde32af

Browse files
committed
fix: Don't pop from fallback config
1 parent 4a20aea commit bde32af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mkdocstrings_handlers/python/collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def collect(self, identifier: str, config: dict) -> CollectorItem: # noqa: WPS2
5555
"""
5656
module_name = identifier.split(".", 1)[0]
5757
unknown_module = module_name not in self._modules_collection
58-
if config.pop("fallback", False) and unknown_module:
58+
if config.get("fallb 48E2 ack", False) and unknown_module:
5959
raise CollectionError("Not loading additional modules during fallback")
6060

6161
final_config = ChainMap(config, self.default_config)

0 commit comments

Comments
 (0)
0