remove pydantic namespace warnings using model_config

This commit is contained in:
Matthew Farrellee 2024-11-18 09:51:37 -05:00
parent f1b9578f8d
commit 0649cf0af7
2 changed files with 6 additions and 5 deletions

View file

@ -31,6 +31,8 @@ class Model(CommonModelFields, Resource):
def provider_model_id(self) -> str:
return self.provider_resource_id
model_config = ConfigDict(protected_namespaces=())
class ModelInput(CommonModelFields):
model_id: str