old_contents: # 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
  
new_contents: # 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
  
  
  def MultiprocessingWorkflowWorker(*args, **kwargs):
      raise DeprecationWarning("MultiprocessingWorkflowWorker is no longer "
                               "supported, please migrate to "
                               "MultiprocessingWorkflowExecutor model")
      return MultiprocessingWorkflowExecutor(WorkflowWorker(*args, **kwargs))
  
  
  def MultiprocessingActivityWorker(*args, **kwargs):
      raise DeprecationWarning("MultiprocessingActivityWorker is no longer "
                               "supported, please migrate to "
                               "MultiprocessingActivityExecutor model")
      return MultiprocessingActivityExecutor(ActivityWorker(*args, **kwargs))
  
  
  def ThreadedWorkflowWorker(*args, **kwargs):
      raise DeprecationWarning("ThreadedWorkflowWorker is no longer "
                               "supported, please migrate to "
                               "ThreadedWorkflowExecutor model")
      return ThreadedWorkflowExecutor(WorkflowWorker(*args, **kwargs))
  
  
  def ThreadedActivityWorker(*args, **kwargs):
      raise DeprecationWarning("ThreadedActivityWorker is no longer "
                               "supported, please migrate to "
                               "ThreadedActivityExecutor model")
      return ThreadedActivityExecutor(ActivityWorker(*args, **kwargs))
subject: Fix the deprecation warnings