chore: Updates model_config docstring to explicitly mentioning pydantic.

This is to disambiguate between pydantic model and LLM.

PiperOrigin-RevId: 754981617
This commit is contained in:
Wei Sun (Jack)
2025-05-05 10:12:09 -07:00
committed by Copybara-Service
parent a930633fad
commit dbea793cf5
15 changed files with 18 additions and 13 deletions
+4 -5
View File
@@ -13,17 +13,16 @@
# limitations under the License.
from enum import Enum
from typing import Any
from typing import Dict
from typing import List
from typing import Optional
from typing import Any, Dict, List, Optional
from pydantic import BaseModel
from pydantic import ConfigDict
from pydantic import Field
class BaseModelWithConfig(BaseModel):
model_config = {"extra": "allow"}
model_config = ConfigDict(extra="allow")
"""The pydantic model config."""
class HttpCredentials(BaseModelWithConfig):