Update processing.py
This commit is contained in:
parent
832b490e51
commit
99013ba68a
|
@ -30,7 +30,6 @@ class pydanticModelGenerator:
|
||||||
optionals: Dict = {},
|
optionals: Dict = {},
|
||||||
):
|
):
|
||||||
def field_type_generator(k, v, overrides, optionals):
|
def field_type_generator(k, v, overrides, optionals):
|
||||||
print(k, v)
|
|
||||||
field_type = str if not overrides.get(k) else overrides[k]["type"]
|
field_type = str if not overrides.get(k) else overrides[k]["type"]
|
||||||
if v is None:
|
if v is None:
|
||||||
field_type = Any
|
field_type = Any
|
||||||
|
|
Loading…
Reference in New Issue
Block a user