Added more object type maps. Spelling fix in comment.
This commit is contained in:
@@ -202,7 +202,7 @@ class Event_File_Base(BaseModel):
|
||||
return redis_lookup_id_random(record_id_random=id_random, table_name='event_track')
|
||||
return None
|
||||
|
||||
# NOTE: I kind of give up on this. Handeling this outside of Pydantic and before the data is even attempted to be loaded into the Event_File_Base model. -STI 2021-09-10
|
||||
# NOTE: I kind of give up on this. Handling this outside of Pydantic and before the data is even attempted to be loaded into the Event_File_Base model. -STI 2021-09-10
|
||||
# NOTE: This validator will try to find and "set" the for_id_random value. However, The value is not really "set" in Pydantic. To get this value, exclude_unset=True when returning a dict from the model.
|
||||
# @validator('for_id_random', always=True)
|
||||
# def for_id_random_lookup(cls, v, values, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user