Open CYarros10 opened 2 weeks ago
I'd imagine this is a general issue regarding how Ruff formatting/linting checks are required and how pytest.importorskip
is sometimes necessary before other imports to pass Pydantic environment build tests - example:
# For no Pydantic environment, we need to skip the tests
pytest.importorskip("google.cloud.aiplatform_v1")
from airflow.providers.google.cloud.operators.vertex_ai.supervised_fine_tuning import (
SupervisedFineTuningTrainOperator,
)
Static checks, mypy, docs / Static checks :
Special tests / Pydantic removed test / All:Pydantic-Removed-Postgres:12:3.8: API Always BranchExternalPython BranchPythonVenv CLI Core ExternalPython Operators Other PlainAsserts :
_Originally posted by @CYarros10 in https://github.com/apache/airflow/pull/41807#discussion_r1735221087_