Overhaul with Pydantic and format version generic 0.3 / model 0.5 #1044
Annotations
10 errors and 1 warning
bioimageio/spec/_internal/base_nodes.py#L17
Import "Literal" is not accessed (reportUnusedImport)
|
bioimageio/spec/_internal/base_nodes.py#L41
Import "IncEx" is not accessed (reportUnusedImport)
|
bioimageio/spec/_internal/field_warning.py#L13
Import "SEVERITY_TO_NAME" is not accessed (reportUnusedImport)
|
bioimageio/spec/collection/v0_2.py#L4
Type of "model_validator" is partially unknown
Type of "model_validator" is "Overload[(*, mode: Literal['wrap']) -> (((ModelWrapValidator[Unknown] | ModelWrapValidatorWithoutInfo[Unknown])) -> PydanticDescriptorProxy[ModelValidatorDecoratorInfo]), (*, mode: Literal['before']) -> (((ModelBeforeValidator | ModelBeforeValidatorWithoutInfo)) -> PydanticDescriptorProxy[ModelValidatorDecoratorInfo]), (*, mode: Literal['after']) -> (((((_ModelType@model_validator, ValidationInfo) -> _ModelType@model_validator) | ((_ModelType@model_validator) -> _ModelType@model_validator))) -> PydanticDescriptorProxy[ModelValidatorDecoratorInfo]), (*, mode: Literal['wrap', 'before', 'after']) -> Any]" (reportUnknownVariableType)
|
bioimageio/spec/generic/v0_3.py#L1
Import "Path" is not accessed (reportUnusedImport)
|
bioimageio/spec/generic/v0_3.py#L2
Import "get_args" is not accessed (reportUnusedImport)
|
bioimageio/spec/generic/v0_3.py#L5
Import "AnyUrl" is not accessed (reportUnusedImport)
|
bioimageio/spec/generic/v0_3.py#L5
Import "DirectoryPath" is not accessed (reportUnusedImport)
|
bioimageio/spec/model/v0_5.py#L13
Type of "model_validator" is partially unknown
Type of "model_validator" is "Overload[(*, mode: Literal['wrap']) -> (((ModelWrapValidator[Unknown] | ModelWrapValidatorWithoutInfo[Unknown])) -> PydanticDescriptorProxy[ModelValidatorDecoratorInfo]), (*, mode: Literal['before']) -> (((ModelBeforeValidator | ModelBeforeValidatorWithoutInfo)) -> PydanticDescriptorProxy[ModelValidatorDecoratorInfo]), (*, mode: Literal['after']) -> (((((_ModelType@model_validator, ValidationInfo) -> _ModelType@model_validator) | ((_ModelType@model_validator) -> _ModelType@model_validator))) -> PydanticDescriptorProxy[ModelValidatorDecoratorInfo]), (*, mode: Literal['wrap', 'before', 'after']) -> Any]" (reportUnknownVariableType)
|
bioimageio/spec/model/v0_5.py#L5
Unnecessary "# type: ignore" comment
|
tests/test_bioimageio_collection.py#L6
Stub file not found for "pooch" (reportMissingTypeStubs)
|
The logs for this run have expired and are no longer available.
Loading