我们从Python开源项目中,提取了以下15个代码示例,用于说明如何使用google.appengine.ext.db.py()。
def from_entity(cls, entity): """Convert entity to BlobInfo. This method is required for compatibility with the current db.py query mechanism but will be removed in the future. DO NOT USE. """ return BlobInfo(entity)
def properties(cls): """Set of properties that belong to BlobInfo. This method is required for compatibility with the current db.py query mechanism but will be removed in the future. DO NOT USE. """ return set(cls._all_properties)
def kind(self): """Get the entity kind for the BlobInfo. This method is required for compatibility with the current db.py query mechanism but will be removed in the future. DO NOT USE. """ return BLOB_INFO_KIND