Revert "docs: API docstrings cleanup for better documentation rendering (#3661)"

This reverts commit a8da6ba3a7.
This commit is contained in:
Francisco Arceo 2025-10-07 10:18:47 -04:00 committed by GitHub
parent 6389bf5ffb
commit 1b7e893cb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 414 additions and 614 deletions

View file

@ -124,9 +124,7 @@ class Models(Protocol):
self,
model_id: str,
) -> Model:
"""Get model.
Get a model by its identifier.
"""Get a model by its identifier.
:param model_id: The identifier of the model to get.
:returns: A Model.
@ -142,9 +140,7 @@ class Models(Protocol):
metadata: dict[str, Any] | None = None,
model_type: ModelType | None = None,
) -> Model:
"""Register model.
Register a model.
"""Register a model.
:param model_id: The identifier of the model to register.
:param provider_model_id: The identifier of the model in the provider.
@ -160,9 +156,7 @@ class Models(Protocol):
self,
model_id: str,
) -> None:
"""Unregister model.
Unregister a model.
"""Unregister a model.
:param model_id: The identifier of the model to unregister.
"""