Revert non-critical changes

The following errors are re-introduced and will need follow-up:
- models.py, line 92
- sd_unet.py, line 41
- sd_models.py, line 1440
This commit is contained in:
awsr
2026-03-25 13:39:13 -07:00
parent a255e5bdcf
commit 375591ecdd
6 changed files with 8 additions and 19 deletions
+3 -3
View File
@@ -57,9 +57,9 @@ def underscore(name: str) -> str: # Convert CamelCase or PascalCase string to un
class PydanticModelGenerator:
def __init__(
self,
model_name: str,
class_instance,
additional_fields: list,
model_name: str | None = None,
class_instance: type | None = None,
additional_fields: list[dict[str, Any]] | None = None,
exclude_fields: list | None = None,
):
if exclude_fields is None: