working autocomplete, should implement search
This commit is contained in:
1 parent
4553cba89f
commit
893013cdae
4 files changed
+66
-93
No files matched your search
@@ -12,12 +12,10 @@ class EntityRead(Entity):
|
||||
|
||||
|
||||
class EntityCreate(Writer):
|
||||
name: str
|
||||
address: str
|
||||
entity_data: Individual | Corporation = Field(..., discriminator='type')
|
||||
|
||||
|
||||
class EntityUpdate(BaseModel):
|
||||
name: str
|
||||
address: str
|
||||
entity_data: Individual | Corporation = Field(..., discriminator='type')
|
||||
Reference in new issue
Block a user