code: def create(cls, path_name=None, name=None, project_id=None,
                 log_modified_at=None, crawlable=True):
          
          result = cls(path_name, name, project_id, log_modified_at, crawlable)
  
          db.session.add(result)
          db.session.commit()
  
          crawl_result(result, True)
  
          return result
docs: Initialize an instance and save it to db.