localstack/localstack

View on GitHub
localstack-core/localstack/aws/api/firehose/__init__.py

Summary

Maintainability
F
3 days
Test Coverage

File __init__.py has 1065 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from datetime import datetime
from typing import Dict, List, Optional, TypedDict

from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler

Severity: Major
Found in localstack-core/localstack/aws/api/firehose/__init__.py - About 2 days to fix

    Function create_delivery_stream has 17 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def create_delivery_stream(
    Severity: Major
    Found in localstack-core/localstack/aws/api/firehose/__init__.py - About 2 hrs to fix

      Function update_destination has 14 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def update_destination(
      Severity: Major
      Found in localstack-core/localstack/aws/api/firehose/__init__.py - About 1 hr to fix

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

            def list_tags_for_delivery_stream(
        Severity: Minor
        Found in localstack-core/localstack/aws/api/firehose/__init__.py - About 35 mins to fix

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

              def list_delivery_streams(
          Severity: Minor
          Found in localstack-core/localstack/aws/api/firehose/__init__.py - About 35 mins to fix

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

                def describe_delivery_stream(
            Severity: Minor
            Found in localstack-core/localstack/aws/api/firehose/__init__.py - About 35 mins to fix

              There are no issues that match your filters.

              Category
              Status