🔧 chore(util.py): remove unnecessary check for "BaseModel" in _type variable
The check for "BaseModel" in the _type variable is unnecessary and can be safely removed.
This commit is contained in:
parent
f922214d2a
commit
0aa8a25e3f
1 changed files with 3 additions and 0 deletions
|
|
@ -265,6 +265,9 @@ def format_dict(
|
|||
|
||||
_type: Union[str, type] = get_type(value)
|
||||
|
||||
if "BaseModel" in _type:
|
||||
continue
|
||||
|
||||
_type = remove_optional_wrapper(_type)
|
||||
_type = check_list_type(_type, value)
|
||||
_type = replace_mapping_with_dict(_type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue