code: def deserialize(self,
                      node: SchemaNode,
                      cstruct: Union[str, ColanderNullType]) \
              -> Optional[Pendulum]:
          
          if not cstruct:
              return colander.null
          try:
              result = coerce_to_pendulum(cstruct,
                                          assume_local=self.use_local_tz)
          except (ValueError, ParserError) as e:
              raise Invalid(node, "Invalid date/time: value={!r}, error="
                                  "{!r}".format(cstruct, e))
          return result
docs: Deserializes string representation to Python object.