dbt_airflow_factory/notifications/ms_teams_webhook_hook.py
Function __init__
has 9 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
def __init__(
Too many arguments (9/5) Open
Open
def __init__(
- Read upRead up
- Exclude checks
Used when a function or method takes too many arguments.
Too many instance attributes (8/7) Open
Open
class MSTeamsWebhookHook(HttpHook):
- Read upRead up
- Exclude checks
Used when class has too many instance attributes, try to reduce this to get a simpler (and so easier to use) class.
Imports from package airflow are not grouped Open
Open
from airflow.hooks.http_hook import HttpHook
- Read upRead up
- Exclude checks
Used when imports are not grouped by packages