localstack/localstack

View on GitHub
localstack/aws/api/support/__init__.py

Summary

Maintainability
C
1 day
Test Coverage

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

from typing import List, Optional, TypedDict

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

AfterTime = str
Severity: Minor
Found in localstack/aws/api/support/__init__.py - About 6 hrs to fix

    Function describe_cases has 11 arguments (exceeds 4 allowed). Consider refactoring.
    Open

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

      Function create_case has 11 arguments (exceeds 4 allowed). Consider refactoring.
      Open

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

        Function describe_communications has 7 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def describe_communications(
        Severity: Major
        Found in localstack/aws/api/support/__init__.py - About 50 mins to fix

          Function describe_create_case_options has 6 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def describe_create_case_options(
          Severity: Minor
          Found in localstack/aws/api/support/__init__.py - About 45 mins to fix

            Function add_communication_to_case has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def add_communication_to_case(
            Severity: Minor
            Found in localstack/aws/api/support/__init__.py - About 45 mins to fix

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

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

                There are no issues that match your filters.

                Category
                Status