summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-01-30 20:18:52 +0000
committerGravatar Chris Lovering <[email protected]>2024-01-30 20:27:44 +0000
commit96e360bd895036d3f0dc89d36c7f8cc2d91ebb01 (patch)
treef608de2416da18332774f23323d04b24bb21a2e3 /docs
parentBump dev deps to latest (diff)
Also ignore linkcode errors when looking for model_computed_fields from pydantic
Diffstat (limited to 'docs')
-rw-r--r--docs/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/utils.py b/docs/utils.py
index 2b3cff5d..18a457b7 100644
--- a/docs/utils.py
+++ b/docs/utils.py
@@ -94,7 +94,7 @@ def linkcode_resolve(repo_link: str, domain: str, info: dict[str, str]) -> str |
pos = _global_assign_pos(source, symbol_name)
if pos is None:
- if symbol_name in ("model_config", "model_fields"):
+ if symbol_name in ("model_config", "model_fields", "model_computed_fields"):
# These are ClassVars added by pydantic.
# Since they're not in our source code, we cannot resolve them to a url.
return None