code: def child_url_record(self, url: str, inline: bool=False,
                           link_type: Optional[LinkType]=None,
                           post_data: Optional[str]=None,
                           level: Optional[int]=None):
          '''Return a child URLRecord.
  
          This function is useful for testing filters before adding to table.
          '''
          url_record = URLRecord()
          url_record.url = url
          url_record.status = Status.todo
          url_record.try_count = 0
          url_record.level = self.url_record.level + 1 if level is None else level
          url_record.root_url = self.url_record.root_url or self.url_record.url
          url_record.parent_url = self.url_record.url
          url_record.inline_level = (self.url_record.inline_level or 0) + 1 if inline else 0
          url_record.link_type = link_type
          url_record.post_data = post_data
  
          return url_recorf child_url_record(self, url: str, inline: bool=False,
                           link_type: Optional[LinkType]=None,
                           post_data: Optional[str]=None,
                           level: Optional[int]=None):
          '''Return a child URLRecord.
  
          This function is useful for testing filters before adding to table.
          '''
          url_record = URLRecord()
          url_record.url = url
          url_record.status = Status.todo
          url_record.try_count = 0
          url_record.level = self.url_record.level + 1 if level is None else level
          url_record.root_url = self.url_record.root_url or self.url_record.url
          url_record.parent_url = self.url_record.url
          url_record.inline_level = (self.url_record.inline_level or 0) + 1 if inline else 0
          url_record.link_type = link_type
          url_record.post_data = post_data
  
          return url_record
docs: Return a child URLRecord.
  
          This function is useful for testing filters before adding to table.