Skip to content

Multifidelity Strategy #1327

Multifidelity Strategy

Multifidelity Strategy #1327

Triggered via pull request November 8, 2024 16:09
Status Failure
Total duration 1m 14s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
lint: bofire/data_models/strategies/predictives/multi_fidelity.py#L11
Alternative syntax for unions requires Python 3.10 or newer
lint: bofire/data_models/strategies/predictives/multi_fidelity.py#L18
Argument of type "(self: Self@MultiFidelityStrategy) -> None" cannot be assigned to parameter of type "_AnyModelAfterValidator[_ModelType@model_validator]"   Type "(self: Self@MultiFidelityStrategy) -> None" cannot be assigned to type "_AnyModelAfterValidator[_ModelType@model_validator]"     Type "(self: Self@MultiFidelityStrategy) -> None" cannot be assigned to type "(_ModelType@model_validator, ValidationInfo) -> _ModelType@model_validator"       Function accepts too many positional parameters; expected 1 but received 2         Parameter 1: type "_ModelType@model_validator" cannot be assigned to type "Self@MultiFidelityStrategy"           "object*" is incompatible with "MultiFidelityStrategy"     Type "(self: Self@MultiFidelityStrategy) -> None" cannot be assigned to type "(_ModelType@model_validator) -> _ModelType@model_validator"       Parameter 1: type "_ModelType@model_validator" cannot be assigned to type "Self@MultiFidelityStrategy"         "object*" is incompatible with "MultiFidelityStrategy" (reportGeneralTypeIssues)
lint
2 errors