Secondary objects
- class mwdblib.comment.MWDBComment(api: APIClient, data: MWDBElementData, parent: MWDBObject)[source]
Represents comment for MWDB object
- property author: str
Comment author
- property comment: str
Comment text
- property id: int
Comment identifier
- property timestamp: datetime.datetime
Comment timestamp
Represents share entry in MWDB object
Returns a group name that object is shared with
- Returns
Group name
Returns why object was shared
Returns timestamp of share
- Returns
datetime object with object share timestamp
Represents the reason why object was shared with specified group
Returns what was shared
Returns who caused action returned by
why
property.- Returns
User login
Returns why it was shared
- Returns
One of actions: ‘queried’, ‘shared’, ‘added’, ‘migrated’