MCPcopy
hub / github.com/learnhouse/learnhouse / RoleRead

Class RoleRead

apps/api/src/db/roles.py:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104
105class RoleRead(RoleBase):
106 id: Optional[int] = Field(default=None, primary_key=True)
107 org_id: Optional[int] = Field(default=None, foreign_key="organization.id")
108 role_type: RoleTypeEnum = RoleTypeEnum.TYPE_GLOBAL
109 role_uuid: str
110 creation_date: str
111 update_date: str
112
113
114class RoleCreate(RoleBase):

Callers 5

create_roleFunction · 0.90
read_roleFunction · 0.90
update_roleFunction · 0.90
_mock_role_readFunction · 0.90

Calls 1

FieldFunction · 0.50

Tested by 1

_mock_role_readFunction · 0.72