MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / __getstate__

Method __getstate__

mongoengine/fields.py:1718–1721  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1716 return bool(self.grid_id)
1717
1718 def __getstate__(self):
1719 self_dict = self.__dict__
1720 self_dict["_fs"] = None
1721 return self_dict
1722
1723 def __copy__(self):
1724 copied = GridFSProxy()

Callers 1

__copy__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected