getindata/dbt-airflow-factory

View on GitHub
dbt_airflow_factory/notifications/ms_teams_webhook_hook.py

Summary

Maintainability
A
50 mins
Test Coverage
B
89%

Function __init__ has 9 arguments (exceeds 6 allowed). Consider refactoring.
Open

    def __init__(
Severity: Major
Found in dbt_airflow_factory/notifications/ms_teams_webhook_hook.py - About 50 mins to fix

    Too many arguments (9/5)
    Open

        def __init__(

    Used when a function or method takes too many arguments.

    Too many instance attributes (8/7)
    Open

    class MSTeamsWebhookHook(HttpHook):

    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

        from airflow.hooks.http_hook import HttpHook

    Used when imports are not grouped by packages

    There are no issues that match your filters.

    Category
    Status