getindata/dbt-airflow-factory

View on GitHub
dbt_airflow_factory/k8s/k8s_operator.py

Summary

Maintainability
A
0 mins
Test Coverage
A
96%

Too few public methods (1/2)
Open

class KubernetesPodOperatorBuilder(DbtRunOperatorBuilder):

Used when class has too few public methods, so be sure it's really worth it.

third party import from airflow.models.baseoperator import BaseOperator should be placed before from dbt_airflow_factory.constants import IS_FIRST_AIRFLOW_VERSION
Open

from airflow.models.baseoperator import BaseOperator

Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)

Line too long (109/100)
Open

            is_delete_operator_pod=self.kubernetes_execution_parameters.is_delete_operator_pod,  # noqa: E501

Used when a line is longer than a given number of characters.

Line too long (178/100)
Open

            # Since Airflow 2.3, https://github.com/apache/airflow/blob/12c3c39d1a816c99c626fe4c650e88cf7b1cc1bc/airflow/providers/cncf/kubernetes/CHANGELOG.rst#500  # noqa: E501

Used when a line is longer than a given number of characters.

Import from airflow.models.baseoperator import BaseOperator should be placed at the top of the module
Open

from airflow.models.baseoperator import BaseOperator

Used when code and imports are mixed

There are no issues that match your filters.

Category
Status