updates 33.1 8
This commit is contained in:
@@ -27,6 +27,11 @@ class FieldDefinition:
|
||||
type_hint: Any
|
||||
default: Any = dc.MISSING
|
||||
optional: bool = False
|
||||
# Optional DB/schema metadata (set by introspection extractors; ignored by
|
||||
# loaders/generators that don't need it).
|
||||
primary_key: bool = False
|
||||
foreign_key: Optional[str] = None # target model name
|
||||
unique: bool = False
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user