transport_data.util.ckan.MemberRole¶
- class transport_data.util.ckan.MemberRole(data: dict | None = None, **kwargs)[source]¶
Bases:
ModelProxyProxy for the CKAN ‘MemberRole’ model.
Todo
Add a link to the proxied class.
Methods
__init__([data])asdict()Return the original dictionary of object data.
from_file(path)Construct a new instance from a file path.
get(name)Return the value of a single field.
get_item(name[, index])Get a member of a collection.
update(data)Update part or all of the object data.
Attributes
- classmethod from_file(path: pathlib.Path) T¶
Construct a new instance from a file path.