We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d44f67 commit f830e4cCopy full SHA for f830e4c
referencing/_core.py
@@ -562,8 +562,8 @@ def combine(self, *registries: Registry[D]) -> Registry[D]:
562
anchors = anchors.update(registry._anchors)
563
uncrawled = uncrawled.update(registry._uncrawled)
564
565
- if registry._retrieve is not _fail_to_retrieve: # type: ignore[reportUnnecessaryComparison] ???
566
- if registry._retrieve is not retrieve is not _fail_to_retrieve: # type: ignore[reportUnnecessaryComparison] ???
+ if registry._retrieve is not _fail_to_retrieve:
+ if registry._retrieve is not retrieve is not _fail_to_retrieve:
567
raise ValueError( # noqa: TRY003
568
"Cannot combine registries with conflicting retrieval "
569
"functions.",
0 commit comments