code: def transform(self, textual):
          
          if textual is None:
              return None
          type = textual[0]
          try:
              method = getattr(self, type + '_to_pyobject')
              return method(textual)
          except AttributeError:
              return None
docs: Transform an object from textual form to `PyObject`