code: def _add_dependency(container, obj):
      '''
      Add a dependency to the top list.
  
      :param obj:
      :param is_file:
      :return:
      '''
      if os.path.basename(obj.__file__).split('.')[0] == '__init__':
          container.append(os.path.dirname(obj.__file__))
      else:
          container.append(obj.__file__.replace('.pyc', '.py')f _add_dependency(container, obj):
      '''
      Add a dependency to the top list.
  
      :param obj:
      :param is_file:
      :return:
      '''
      if os.path.basename(obj.__file__).split('.')[0] == '__init__':
          container.append(os.path.dirname(obj.__file__))
      else:
          container.append(obj.__file__.replace('.pyc', '.py'))
docs: Add a dependency to the top list.
  
      :param obj:
      :param is_file:
      :return: