class documentation
class Object(gws.base.model.field.Object, gws.IModelField): (source)
Known subclasses: gws.plugin.model_field.related_feature.Object
, gws.plugin.model_field.related_linked_feature_list.Object
, gws.plugin.model_field.related_multi_feature_list.Object
Undocumented
Method | __getstate__ |
Undocumented |
Method | activate |
Undocumented |
Method | column |
Undocumented |
Method | configure |
Undocumented |
Method | configure |
Undocumented |
Method | do |
Undocumented |
Method | drop |
Undocumented |
Method | find |
Undocumented |
Method | from |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | key |
Undocumented |
Method | post |
Undocumented |
Method | related |
Undocumented |
Method | related |
Undocumented |
Method | to |
Undocumented |
Method | uid |
Undocumented |
Method | uid |
Undocumented |
Method | uids |
Undocumented |
Method | update |
Undocumented |
Method | update |
Undocumented |
Class Variable | rel |
Undocumented |
Instance Variable | model |
Undocumented |
Instance Variable | widget |
Undocumented |
Inherited from Object
:
Method | configure |
Undocumented |
Method | configure |
Undocumented |
Method | configure |
Undocumented |
Method | configure |
Undocumented |
Method | describe |
Undocumented |
Method | do |
Undocumented |
Method | prop |
Undocumented |
Method | props |
Undocumented |
Method | python |
Undocumented |
Method | python |
Undocumented |
Method | raw |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | title |
Undocumented |
Instance Variable | validators |
Undocumented |
Instance Variable | values |
Undocumented |
Inherited from Node
(via Object
):
Method | cfg |
Undocumented |
Method | closest |
Undocumented |
Method | create |
Undocumented |
Method | create |
Undocumented |
Method | create |
Undocumented |
Method | find |
Undocumented |
Method | find |
Undocumented |
Method | initialize |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | permissions |
Undocumented |
Method | _configure |
Undocumented |
Inherited from Object
(via Object
, Node
):
Method | __repr__ |
Undocumented |
Inherited from IModelField
(via Object
, Node
, Object
):
Method | after |
Undocumented |
Method | after |
Undocumented |
Method | after |
Undocumented |
Method | after |
Undocumented |
Method | after |
Undocumented |
Method | before |
Undocumented |
Method | before |
Undocumented |
Method | before |
Undocumented |
Method | before |
Undocumented |
Method | before |
Undocumented |
Method | do |
Undocumented |
Method | from |
Undocumented |
Method | to |
Undocumented |
Class Variable | attribute |
Undocumented |
Class Variable | supports |
Undocumented |
Class Variable | supports |
Undocumented |
Class Variable | supports |
Undocumented |
Inherited from INode
(via Object
, Node
, Object
, IModelField
):
Method | pre |
Undocumented |
Class Variable | children |
Undocumented |
Class Variable | ext |
Undocumented |
Class Variable | ext |
Undocumented |
Class Variable | parent |
Undocumented |
Class Variable | root |
Undocumented |
Class Variable | uid |
Undocumented |
def drop_uid_and_key(self, model:
gws.IDatabaseModel
, key_column: sa.Column
, uids: t.Iterable[ gws.FeatureUid]
, delete: bool
, mc: gws.ModelContext
):
(source)
¶
Undocumented
def get_related(self, model:
gws.IDatabaseModel
, uids: t.Iterable[ gws.FeatureUid]
, mc: gws.ModelContext
) -> list[ gws.IFeature]
:
(source)
¶
Undocumented
def key_for_uid(self, model:
gws.IDatabaseModel
, key_column: sa.Column
, uid: gws.FeatureUid
, mc: gws.ModelContext
):
(source)
¶
Undocumented
def uid_and_key_for_keys(self, model:
gws.IDatabaseModel
, key_column: sa.Column
, keys: t.Iterable[ gws.FeatureUid]
, mc: gws.ModelContext
) -> set[ tuple[ gws.FeatureUid, gws.FeatureUid]]
:
(source)
¶
Undocumented
def uid_and_key_for_uids(self, model:
gws.IDatabaseModel
, key_column: sa.Column
, uids: t.Iterable[ gws.FeatureUid]
, mc: gws.ModelContext
) -> set[ tuple[ gws.FeatureUid, gws.FeatureUid]]
:
(source)
¶
Undocumented
def uids_to_keys(self, mc:
gws.ModelContext
, model: gws.IDatabaseModel
, key_column: sa.Column
, uids: t.Optional[ t.Iterable[ gws.FeatureUid]]
= None, keys: t.Optional[ t.Iterable[ t.Any]]
= None):
(source)
¶
Undocumented
def update_key_for_uids(self, model:
gws.IDatabaseModel
, key_column: sa.Column
, uids: list[ gws.FeatureUid]
, key: t.Any
, mc: gws.ModelContext
):
(source)
¶
Undocumented
def update_uid_and_key(self, model:
gws.IDatabaseModel
, key_column: sa.Column
, uid_and_key: t.Iterable[ tuple[ gws.FeatureUid, gws.FeatureUid]]
, mc: gws.ModelContext
):
(source)
¶
Undocumented