mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-21 21:29:30 +00:00
* First approach * Test model * Validate endpoints * Update schema codegen * Prepare reqs dev * Rename titles and codegen * Update README * Keep lineage title as addLineage * Update pydantic classes * Update API wrapper & tests * Handle services methods * Prepare tests
19 lines
507 B
Python
19 lines
507 B
Python
# generated by datamodel-codegen:
|
|
# filename: schema/api/setOwner.json
|
|
# timestamp: 2021-10-21T16:10:22+00:00
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Optional
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
from ..type import basic
|
|
|
|
|
|
class SetOwnershipForAGivenEntity(BaseModel):
|
|
id: Optional[basic.Uuid] = Field(None, description='Id of the owner of the entity')
|
|
type: Optional[str] = Field(
|
|
None, description="Entity type of the owner typically either 'user' or 'team'"
|
|
)
|