@classmethod
    def from_context(cls, context):
        return cls(id=context.id, context=context.to_dict())
Create a `cls` entity from a context.
dataset/ETHPy150Open Workiva/furious/furious/extras/appengine/ndb_persistence.py/FuriousContext.from_context