chore: Remove redundant attribute descriptions from docstrings

The attributes are already defined as fields in the Pydantic models, making the docstring descriptions unnecessary.

PiperOrigin-RevId: 806091305
This commit is contained in:
Hangfei Lin
2025-09-11 20:15:19 -07:00
committed by Copybara-Service
parent 9862b7b1e2
commit f73ae6e101
3 changed files with 6 additions and 28 deletions
+2 -5
View File
@@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import annotations
from abc import abstractmethod
@@ -29,11 +30,7 @@ if TYPE_CHECKING:
class BaseLlm(BaseModel):
"""The BaseLLM class.
Attributes:
model: The name of the LLM, e.g. gemini-2.5-flash or gemini-2.5-pro.
"""
"""The BaseLLM class."""
model_config = ConfigDict(
# This allows us to use arbitrary types in the model. E.g. PIL.Image.