datacoves/dbt-coves

View on GitHub
dbt_coves/utils/api_caller.py

Summary

Maintainability
A
3 hrs
Test Coverage

File api_caller.py has 258 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import json
from typing import Any, Dict

import requests
from requests.auth import HTTPBasicAuth
Severity: Minor
Found in dbt_coves/utils/api_caller.py - About 2 hrs to fix

    Function api_call has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def api_call(
    Severity: Minor
    Found in dbt_coves/utils/api_caller.py - About 35 mins to fix

      Function update_connector_table_config has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def update_connector_table_config(
      Severity: Minor
      Found in dbt_coves/utils/api_caller.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status