code: def fork(self, server_address: str = None, *, namespace: str = None) -> "State":
          r
          if server_address is None:
              server_address = self.server_address
          if namespace is None:
              namespace = self.namespace
  
          return self.__class__(server_address, namespace=namespace)
docs: r"""
          "Forks" this State object.
  
          Takes the same args as the :py:class:`State` constructor,
          except that they automatically default to the values provided during the creation of this State object.
  
          If no args are provided to this function,
          then it shall create a new :py:class:`State` object
          that follows the exact same semantics as this one.
  
          This is preferred over ``copy()``\ -ing a :py:class:`State` object.
  
          Useful when one needs to access 2 or more namespaces from the same code.