docs: def create_source(name, url, backend,
                    description=None,
                    frequency=DEFAULT_HARVEST_FREQUENCY,
                    owner=None,
                    organization=None,
                    config=None,
                    ):
      '''Create a new harvest source'''
      if owner and not isinstance(owner, User):
          owner = User.get(owner)
  
      if organization and not isinstance(organization, Organization):
          organization = Organization.get(organization)
  
      source = HarvestSource.objects.create(
          name=name,
          url=url,
          backend=backend,
          description=description,
          frequency=frequency or DEFAULT_HARVEST_FREQUENCY,
          owner=owner,
          organization=organization,
          config=config,
      )
      signals.harvest_source_created.send(source)
      return source