Skip to content

Overhaul with Pydantic and format version generic 0.3 / model 0.5 #1044

Overhaul with Pydantic and format version generic 0.3 / model 0.5

Overhaul with Pydantic and format version generic 0.3 / model 0.5 #1044

Triggered via pull request August 28, 2023 21:03
@FynnBeFynnBe
synchronize #521
pydantic_axes
Status Failure
Total duration 53s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Matrix: test
conda-build
0s
conda-build
deploy
0s
deploy
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 4 warnings
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 "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_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)
test (3.11): bioimageio/spec/model/v0_5.py#L5
Unnecessary "# type: ignore" comment
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 "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_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)
test (3.8): bioimageio/spec/model/v0_5.py#L5
Unnecessary "# type: ignore" comment
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 "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_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)
test (3.9): bioimageio/spec/model/v0_5.py#L5
Unnecessary "# type: ignore" comment
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 "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_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)
test (3.10): bioimageio/spec/model/v0_5.py#L5
Unnecessary "# type: ignore" comment
test (3.11): 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.10): tests/test_bioimageio_collection.py#L6
Stub file not found for "pooch" (reportMissingTypeStubs)