Skip to content

Role

Module superwise.models.role

This module implement Role model

Classes

Role(id=None, model_type_id=None, is_nullable=None, description=None, internal_name=None, is_label=None, is_optional=None, role=None, value=None, **kwargs) Role model class, model for roles data

Description:

Constructor of Role class

Args:

id: id of role (int)

model_type_id: model type id (ModelType enum value)

is_nullable:

description: description of the role

internal_name`:

is_label:

is_optional:

role:

value:

Ancestors (in MRO)

  • superwise.models.base.BaseModel