Python google.appengine.ext.db 模块,py() 实例源码

我们从Python开源项目中,提取了以下15个代码示例,用于说明如何使用google.appengine.ext.db.py()

项目:Intranet-Penetration    作者:yuxiaokui    | 项目源码 | 文件源码
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)
项目:Intranet-Penetration    作者:yuxiaokui    | 项目源码 | 文件源码
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)
项目:Intranet-Penetration    作者:yuxiaokui    | 项目源码 | 文件源码
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
项目:MKFQ    作者:maojingios    | 项目源码 | 文件源码
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)
项目:MKFQ    作者:maojingios    | 项目源码 | 文件源码
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)
项目:MKFQ    作者:maojingios    | 项目源码 | 文件源码
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
项目:xxNet    作者:drzorm    | 项目源码 | 文件源码
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)
项目:xxNet    作者:drzorm    | 项目源码 | 文件源码
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)
项目:xxNet    作者:drzorm    | 项目源码 | 文件源码
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
项目:Deploy_XXNET_Server    作者:jzp820927    | 项目源码 | 文件源码
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)
项目:Deploy_XXNET_Server    作者:jzp820927    | 项目源码 | 文件源码
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)
项目:Deploy_XXNET_Server    作者:jzp820927    | 项目源码 | 文件源码
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
项目:Docker-XX-Net    作者:kuanghy    | 项目源码 | 文件源码
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)
项目:Docker-XX-Net    作者:kuanghy    | 项目源码 | 文件源码
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)
项目:Docker-XX-Net    作者:kuanghy    | 项目源码 | 文件源码
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