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 f9483cb commit 6b0048fCopy full SHA for 6b0048f
packages/models-library/src/models_library/projects_nodes.py
@@ -478,6 +478,7 @@ def _update_json_schema_extra(schema: JsonDict) -> None:
478
479
480
class PartialNode(Node):
481
- key: ServiceKey | None = None
482
- version: ServiceVersion | None = None
483
- label: str | None = None
+ # NOTE: `type: ignore[assignment]` is needed because mypy gets confused when overriding the types by adding the Union with None
+ key: ServiceKey | None = None # type: ignore[assignment]
+ version: ServiceVersion | None = None # type: ignore[assignment]
484
+ label: str | None = None # type: ignore[assignment]
0 commit comments