Update processing.py

This commit is contained in:
Jonathan 2022-10-17 03:20:17 -04:00 committed by AUTOMATIC1111
parent 832b490e51
commit 99013ba68a

View File

@ -30,7 +30,6 @@ class pydanticModelGenerator:
optionals: Dict = {},
):
def field_type_generator(k, v, overrides, optionals):
print(k, v)
field_type = str if not overrides.get(k) else overrides[k]["type"]
if v is None:
field_type = Any