localstack-core/localstack/aws/api/swf/__init__.py
File __init__.py
has 1431 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from datetime import datetime
from typing import List, Optional, TypedDict
from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
SwfApi
has 39 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SwfApi:
service = "swf"
version = "2012-01-25"
@handler("CountClosedWorkflowExecutions")
Function start_workflow_execution
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def start_workflow_execution(
Function list_closed_workflow_executions
has 12 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_closed_workflow_executions(
Function register_activity_type
has 12 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def register_activity_type(
Function register_workflow_type
has 12 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def register_workflow_type(
Function list_open_workflow_executions
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_open_workflow_executions(
Function poll_for_decision_task
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def poll_for_decision_task(
Function count_closed_workflow_executions
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def count_closed_workflow_executions(
Function list_activity_types
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_activity_types(
Function list_workflow_types
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_workflow_types(
Function terminate_workflow_execution
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def terminate_workflow_execution(
Function respond_decision_task_completed
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def respond_decision_task_completed(
Function count_open_workflow_executions
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def count_open_workflow_executions(
Function get_workflow_execution_history
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_workflow_execution_history(
Function signal_workflow_execution
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def signal_workflow_execution(
Function register_domain
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def register_domain(
Function list_domains
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def list_domains(
Function poll_for_activity_task
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def poll_for_activity_task(
Function respond_activity_task_failed
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def respond_activity_task_failed(
Function request_cancel_workflow_execution
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def request_cancel_workflow_execution(