code: def deserialize(type_, value=None, **kwargs):
      '''Get an object from a text representation'''
      if not isinstance(type_, str):
          return type_
      des = deserializer(type_, **kwargs)
      if value is None:
          return des
      return des(valuef deserialize(type_, value=None, **kwargs):
      '''Get an object from a text representation'''
      if not isinstance(type_, str):
          return type_
      des = deserializer(type_, **kwargs)
      if value is None:
          return des
      return des(value)
docs: Get an object from a text representation