mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-21 13:54:57 +00:00
30 lines
902 B
Python
30 lines
902 B
Python
![]() |
# generated by datamodel-codegen:
|
||
|
# filename: schema/api/teams/createTeam.json
|
||
|
# timestamp: 2021-07-31T17:12:10+00:00
|
||
|
|
||
|
from __future__ import annotations
|
||
|
|
||
|
from typing import List, Optional
|
||
|
|
||
|
from pydantic import BaseModel, Field
|
||
|
|
||
|
from ...entity.teams import team
|
||
|
from ...type import basic, profile
|
||
|
|
||
|
|
||
|
class TeamEntity(BaseModel):
|
||
|
name: team.TeamName
|
||
|
displayName: Optional[str] = Field(
|
||
|
None,
|
||
|
description="Optional name used for display purposes. Example 'Marketing Team'",
|
||
|
)
|
||
|
description: Optional[str] = Field(
|
||
|
None, description='Optional description of the team'
|
||
|
)
|
||
|
profile: Optional[
|
||
|
profile.TypeUsedToCaptureProfileOfAUserTeamOrAnOrganization
|
||
|
] = Field(None, description='Optional team profile information')
|
||
|
users: Optional[List[basic.Uuid]] = Field(
|
||
|
None, description='Optional IDs of users that are part of the team'
|
||
|
)
|