(self, strict=False, **data)
| 51 | """ |
| 52 | |
| 53 | def __init__(self, strict=False, **data): |
| 54 | if (not strict): # This is temporary until we refactor all DS configs, allows HF to load models |
| 55 | data = {k: v for k, v in data.items() if (v != "auto" or k == "replace_method")} |
| 56 | super().__init__(**data) |
| 57 | self._deprecated_fields_check(self) |
| 58 | |
| 59 | def _process_deprecated_field(self, pydantic_config, field): |
| 60 | # Get information about the deprecated field |
nothing calls this directly
no test coverage detected