chore: add __len__ to ListResponse

This commit is contained in:
Matt Speck 2025-06-06 12:44:49 -05:00 committed by GitHub
parent 63ca747622
commit 41c924ded4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -468,6 +468,9 @@ class ListResponse(SubscriptableBaseModel):
models: Sequence[Model]
'List of models.'
def __len__(self) -> int:
return len(self.models)
class DeleteRequest(BaseRequest):
"""