asynqueue.info.Converter(object)
class documentation
Part of asynqueue.info
(View In Hierarchy)
I provide a bunch of methods for converting objects.
Method | strToFQN | Returns the fully qualified name of the supplied string if it can be
imported and then reflected back into the FQN, or None if
not. |
Method | objToPickle | Returns a string of the pickled object or None if it
couldn't be pickled and unpickled back again. |
Method | objToFQN | Returns the fully qualified name of the supplied object if it can be
reflected into an FQN and back again, or None if not. |
Method | processObject | Attempts to convert the supplied object to a pickle and, failing that, to a fully qualified name. |
def
strToFQN(self, x):
Returns the fully qualified name of the supplied string if it can be
imported and then reflected back into the FQN, or None
if
not.
def
objToPickle(self, x):
Returns a string of the pickled object or None
if it
couldn't be pickled and unpickled back again.