original_docstring: 
      Import a provider from a path by checking if the provider has a tackle file and
      returning a path.
      
docstring: Import a provider from a path by checking if the provider has a tackle file and
  returning a path.
docstring_tokens: Import a provider from a path by checking if the provider has a tackle file and returning a path .
code: def import_local_provider_source(context: 'Context', provider_dir: str):
      """
      Import a provider from a path by checking if the provider has a tackle file and
      returning a path.
      """
      context.input_dir = provider_dir
      if context.input_file is None:
          context.input_file = find_tackle_file(provider_dir)
  
      if context.directory:
          context.input_file = os.path.join(context.input_file, context.directory)
  
      extract_base_file(context)
code_tokens: def import_local_provider_source ( context : 'Context' , provider_dir : str ) : context . input_dir = provider_dir if context . input_file is None : context . input_file = find_tackle_file ( provider_dir ) if context . directory : context . input_file = os . path . join ( context . input_file , context . directory ) extract_base_file ( context )
short_docstring: Import a provider from a path by checking if the provider has a tackle file and
  returning a path.
short_docstring_tokens: Import a provider from a path by checking if the provider has a tackle file and returning a path .
comment: """
      Import a provider from a path by checking if the provider has a tackle file and
      returning a path.
      """