(self)
return __dict__
Obtains serialisable data for pickling.
Obtains serialisable data for pickling.
Obtains serialisable data for pickling .
def __getstate__(self):
        """Obtains serialisable data for pickling."""
        __dict__ = self.__dict__.copy()
        __dict__.update(app=None, jinja_env=None)  # clear unpickable attributes
        return __dict__
def __getstate__ ( self ) : __dict__ = self . __dict__ . copy ( ) __dict__ . update ( app = None , jinja_env = None ) # clear unpickable attributes return __dict__