dbt_airflow_factory/k8s/k8s_operator.py
Too few public methods (1/2) Open
Open
class KubernetesPodOperatorBuilder(DbtRunOperatorBuilder):
- Read upRead up
- Exclude checks
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
Open
from airflow.models.baseoperator import BaseOperator
- Read upRead up
- Exclude checks
Used when PEP8 import order is not respected (standard imports first, then third-party libraries, then local imports)
Line too long (109/100) Open
Open
is_delete_operator_pod=self.kubernetes_execution_parameters.is_delete_operator_pod, # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Line too long (178/100) Open
Open
# Since Airflow 2.3, https://github.com/apache/airflow/blob/12c3c39d1a816c99c626fe4c650e88cf7b1cc1bc/airflow/providers/cncf/kubernetes/CHANGELOG.rst#500 # noqa: E501
- Read upRead up
- Exclude checks
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
Open
from airflow.models.baseoperator import BaseOperator
- Read upRead up
- Exclude checks
Used when code and imports are mixed