docs: def create_document(self, doc: Dict, mime_type: str = None, url: str = "http://ex.com/123",
                          doc_id=None, type_=None) -> Document:
          """
          Factory method to wrap input JSON docs in an ETK Document object.
  
          Args:
              doc (object): a JSON object containing a document in CDR format.
              mime_type (str): if doc is a string, the mime_type tells what it is
              url (str): if the doc came from the web, specifies the URL for it
              doc_id
              type_
  
          Returns: wrapped Document
  
          """
          return Document(self, doc, mime_type, url, doc_id=doc_id).with_type(type_)