本文整理汇总了Python中dNG.data.data_linker.DataLinker.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python DataLinker.__init__方法的具体用法?Python DataLinker.__init__怎么用?Python DataLinker.__init__使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类dNG.data.data_linker.DataLinker
的用法示例。
在下文中一共展示了DataLinker.__init__方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from dNG.data.data_linker import DataLinker [as 别名]
# 或者: from dNG.data.data_linker.DataLinker import __init__ [as 别名]
def __init__(self, db_instance = None):
"""
Constructor __init__(Category)
:param db_instance: Encapsulated SQLAlchemy database instance
:since: v0.2.00
"""
DataLinker.__init__(self, db_instance)
LockableMixin.__init__(self)
OwnableLockableWriteMixin.__init__(self)
SubscribableMixin.__init__(self)
示例2: __init__
# 需要导入模块: from dNG.data.data_linker import DataLinker [as 别名]
# 或者: from dNG.data.data_linker.DataLinker import __init__ [as 别名]
def __init__(self, db_instance = None):
"""
Constructor __init__(Document)
:param db_instance: Encapsulated SQLAlchemy database instance
:since: v0.2.00
"""
DataLinker.__init__(self, db_instance)
LockableMixin.__init__(self)
OwnableLockableReadMixin.__init__(self)
self.set_max_inherited_permissions(OwnableLockableReadMixin.READABLE,
OwnableLockableReadMixin.READABLE
)
示例3: __init__
# 需要导入模块: from dNG.data.data_linker import DataLinker [as 别名]
# 或者: from dNG.data.data_linker.DataLinker import __init__ [as 别名]
def __init__(self, db_instance = None):
"""
Constructor __init__(Entry)
:param db_instance: Encapsulated SQLAlchemy database instance
:since: v0.1.00
"""
DataLinker.__init__(self, db_instance)
LockableMixin.__init__(self)
OwnableLockableReadMixin.__init__(self)
self.vfs_object = None
"""
Underlying VFS object
"""
self.set_max_inherited_permissions(OwnableLockableReadMixin.READABLE,
OwnableLockableReadMixin.READABLE
)
示例4: __init__
# 需要导入模块: from dNG.data.data_linker import DataLinker [as 别名]
# 或者: from dNG.data.data_linker.DataLinker import __init__ [as 别名]
def __init__(self, db_instance = None):
#
"""
Constructor __init__(List)
:param db_instance: Encapsulated SQLAlchemy database instance
:since: v0.1.00
"""
DataLinker.__init__(self, db_instance)
LockableMixin.__init__(self)
OwnableLockableWriteMixin.__init__(self)
SubscribableMixin.__init__(self)
self.total_posts = None
"""
Number of posts of this and all subjacent lists
"""
self.total_topics = None
"""
Number of topics of this and all subjacent lists
"""
self.latest_timestamp = None
"""
Timestamp of the newest post of this or an subjacent list
"""
self.latest_topic_id = None
"""
Topic ID of the newest post of this or an subjacent list
"""
self.latest_author_id = None
"""
Author ID of the newest post of this or an subjacent list
"""
self.latest_preview = None
"""