Overhaul with Pydantic and format version generic 0.3 / model 0.5 #1045
Annotations
40 errors and 4 warnings
test (3.10):
bioimageio/spec/_internal/base_nodes.py#L17
Import "Literal" is not accessed (reportUnusedImport)
|
test (3.10):
bioimageio/spec/_internal/base_nodes.py#L41
Import "IncEx" is not accessed (reportUnusedImport)
|
test (3.10):
bioimageio/spec/_internal/field_warning.py#L13
Import "WARNING_SEVERITY_TO_NAME" is not accessed (reportUnusedImport)
|
test (3.10):
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)
|
test (3.10):
bioimageio/spec/generic/v0_3.py#L1
Import "Path" is not accessed (reportUnusedImport)
|
test (3.10):
bioimageio/spec/generic/v0_3.py#L2
Import "get_args" is not accessed (reportUnusedImport)
|
test (3.10):
bioimageio/spec/generic/v0_3.py#L5
Import "AnyUrl" is not accessed (reportUnusedImport)
|
test (3.10):
bioimageio/spec/generic/v0_3.py#L5
Import "DirectoryPath" is not accessed (reportUnusedImport)
|
test (3.10):
bioimageio/spec/model/v0_4.py#L14
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)
|
test (3.10):
bioimageio/spec/model/v0_4.py#L83
"WeightsEntry" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)
|
test (3.8):
bioimageio/spec/_internal/base_nodes.py#L17
Import "Literal" is not accessed (reportUnusedImport)
|
test (3.8):
bioimageio/spec/_internal/base_nodes.py#L41
Import "IncEx" is not accessed (reportUnusedImport)
|
test (3.8):
bioimageio/spec/_internal/field_warning.py#L13
Import "WARNING_SEVERITY_TO_NAME" is not accessed (reportUnusedImport)
|
test (3.8):
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)
|
test (3.8):
bioimageio/spec/generic/v0_3.py#L1
Import "Path" is not accessed (reportUnusedImport)
|
test (3.8):
bioimageio/spec/generic/v0_3.py#L2
Import "get_args" is not accessed (reportUnusedImport)
|
test (3.8):
bioimageio/spec/generic/v0_3.py#L5
Import "AnyUrl" is not accessed (reportUnusedImport)
|
test (3.8):
bioimageio/spec/generic/v0_3.py#L5
Import "DirectoryPath" is not accessed (reportUnusedImport)
|
test (3.8):
bioimageio/spec/model/v0_4.py#L14
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)
|
test (3.8):
bioimageio/spec/model/v0_4.py#L83
"WeightsEntry" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)
|
test (3.9):
bioimageio/spec/_internal/base_nodes.py#L17
Import "Literal" is not accessed (reportUnusedImport)
|
test (3.9):
bioimageio/spec/_internal/base_nodes.py#L41
Import "IncEx" is not accessed (reportUnusedImport)
|
test (3.9):
bioimageio/spec/_internal/field_warning.py#L13
Import "WARNING_SEVERITY_TO_NAME" is not accessed (reportUnusedImport)
|
test (3.9):
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)
|
test (3.9):
bioimageio/spec/generic/v0_3.py#L1
Import "Path" is not accessed (reportUnusedImport)
|
test (3.9):
bioimageio/spec/generic/v0_3.py#L2
Import "get_args" is not accessed (reportUnusedImport)
|
test (3.9):
bioimageio/spec/generic/v0_3.py#L5
Import "AnyUrl" is not accessed (reportUnusedImport)
|
test (3.9):
bioimageio/spec/generic/v0_3.py#L5
Import "DirectoryPath" is not accessed (reportUnusedImport)
|
test (3.9):
bioimageio/spec/model/v0_4.py#L14
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)
|
test (3.9):
bioimageio/spec/model/v0_4.py#L83
"WeightsEntry" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)
|
test (3.11):
bioimageio/spec/_internal/base_nodes.py#L17
Import "Literal" is not accessed (reportUnusedImport)
|
test (3.11):
bioimageio/spec/_internal/base_nodes.py#L41
Import "IncEx" is not accessed (reportUnusedImport)
|
test (3.11):
bioimageio/spec/_internal/field_warning.py#L13
Import "WARNING_SEVERITY_TO_NAME" is not accessed (reportUnusedImport)
|
test (3.11):
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)
|
test (3.11):
bioimageio/spec/generic/v0_3.py#L1
Import "Path" is not accessed (reportUnusedImport)
|
test (3.11):
bioimageio/spec/generic/v0_3.py#L2
Import "get_args" is not accessed (reportUnusedImport)
|
test (3.11):
bioimageio/spec/generic/v0_3.py#L5
Import "AnyUrl" is not accessed (reportUnusedImport)
|
test (3.11):
bioimageio/spec/generic/v0_3.py#L5
Import "DirectoryPath" is not accessed (reportUnusedImport)
|
test (3.11):
bioimageio/spec/model/v0_4.py#L14
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)
|
test (3.11):
bioimageio/spec/model/v0_4.py#L83
"WeightsEntry" is specified in __all__ but is not present in module (reportUnsupportedDunderAll)
|
test (3.10):
tests/test_bioimageio_collection.py#L6
Stub file not found for "pooch" (reportMissingTypeStubs)
|
test (3.8):
tests/test_bioimageio_collection.py#L6
Stub file not found for "pooch" (reportMissingTypeStubs)
|
test (3.9):
tests/test_bioimageio_collection.py#L6
Stub file not found for "pooch" (reportMissingTypeStubs)
|
test (3.11):
tests/test_bioimageio_collection.py#L6
Stub file not found for "pooch" (reportMissingTypeStubs)
|