OrderBy

class baseten.client.managementapi.OrderBy(*, field, order)

Bases: BaseModel

Parameters:
  • field (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Field', description='The field to order by.', examples=['created_at'])])

  • order (Annotated[str, FieldInfo(annotation=NoneType, required=True, title='Order', description='The direction to order by.', examples=['asc', 'desc'])])

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].