class_docstr: Wrap MongoDB with three primary methods `read`, `write`, `remove`.
  
  Attributes
  ----------
  host : str
     Hostname or MongoDB compliant full credentials+address+database
     specification.
  
  Information on MongoDB `connection string
  <https://docs.mongodb.com/manual/reference/connection-string/>`_.
  
  .. seealso:: :class:`orion.core.io.database.Database` for more on attributes.
code: def __setstate__(self, state):
      for key in [
          "host",
          "name",
          "port",
          "username",
          "password",
          "options",
      ]:
          setattr(self, key, state[key])
      self.uri = None
      self.initiate_connection()
  
imports: import functools
  import pymongo
  from orion.core.io.database import Database, DatabaseError, DatabaseTimeout, DuplicateKeyError
label_desc: Use image node_id 4 for calling the MongoDB obj's underlying member method code with example usage: obj.__setstate__(state) without return types