localstack/localstack

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

Summary

Maintainability
C
1 day
Test Coverage

File __init__.py has 431 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: Minor
Found in localstack/aws/api/scheduler/__init__.py - About 6 hrs to fix

    Function create_schedule has 15 arguments (exceeds 4 allowed). Consider refactoring.
    Open

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

      Function update_schedule has 15 arguments (exceeds 4 allowed). Consider refactoring.
      Open

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

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

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

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

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

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

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

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

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

                There are no issues that match your filters.

                Category
                Status