Coverage for /usr/local/lib/python3.12/site-packages/prefect/_internal/schemas/fields.py: 100%
11 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-12-05 11:21 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-12-05 11:21 +0000
1from typing import Optional 1a
2from uuid import UUID 1a
4from pydantic import BaseModel, Field 1a
7class CreatedBy(BaseModel): 1a
8 id: Optional[UUID] = Field( 1a
9 default=None, description="The id of the creator of the object."
10 )
11 type: Optional[str] = Field( 1a
12 default=None, description="The type of the creator of the object."
13 )
14 display_value: Optional[str] = Field( 1a
15 default=None, description="The display value for the creator."
16 )
19class UpdatedBy(BaseModel): 1a
20 id: Optional[UUID] = Field( 1a
21 default=None, description="The id of the updater of the object."
22 )
23 type: Optional[str] = Field( 1a
24 default=None, description="The type of the updater of the object."
25 )
26 display_value: Optional[str] = Field( 1a
27 default=None, description="The display value for the updater."
28 )