# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
#  http://aws.amazon.com/apache2.0
#
# or in the "license" file accompanying this file. This file is distributed
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.

from .core import async, Return, return_, Future
from .context import get_context, set_context
from .workers import (GenericWorkflowWorker, WorkflowWorker, ActivityWorker, 
                      ThreadedWorkflowExecutor, ThreadedActivityExecutor, 
                      MultiprocessingWorkflowExecutor, MultiprocessingActivityExecutor)
from .decorators import workflow, execute, activity, activities, signal
from .options import workflow_options, activity_options
from .workflow_definition import WorkflowDefinition
from .workflow_starter import WorkflowStarter
from . import workflow_types as types

@@ -1155,8 +1155,1295 @@
 s types%0A
+%0A%0Adef MultiprocessingWorkflowWorker(*args, **kwargs):%0A    raise DeprecationWarning(%22MultiprocessingWorkflowWorker is no longer %22%0A                             %22supported, please migrate to %22%0A                             %22MultiprocessingWorkflowExecutor model%22)%0A    return MultiprocessingWorkflowExecutor(WorkflowWorker(*args, **kwargs))%0A%0A%0Adef MultiprocessingActivityWorker(*args, **kwargs):%0A    raise DeprecationWarning(%22MultiprocessingActivityWorker is no longer %22%0A                             %22supported, please migrate to %22%0A                             %22MultiprocessingActivityExecutor model%22)%0A    return MultiprocessingActivityExecutor(ActivityWorker(*args, **kwargs))%0A%0A%0Adef ThreadedWorkflowWorker(*args, **kwargs):%0A    raise DeprecationWarning(%22ThreadedWorkflowWorker is no longer %22%0A                             %22supported, please migrate to %22%0A                             %22ThreadedWorkflowExecutor model%22)%0A    return ThreadedWorkflowExecutor(WorkflowWorker(*args, **kwargs))%0A%0A%0Adef ThreadedActivityWorker(*args, **kwargs):%0A    raise DeprecationWarning(%22ThreadedActivityWorker is no longer %22%0A                             %22supported, please migrate to %22%0A                             %22ThreadedActivityExecutor model%22)%0A    return ThreadedActivityExecutor(ActivityWorker(*args, **kwargs))

Fix the deprecation warnings