Skip to content

How to disable pagination for ModelControllerBase with ModelConfig #323

@Bouni

Description

@Bouni

I have this controller and do not want pagination on it

@api_controller("/tools")
class ToolModelController(ModelControllerBase):
    model_config = ModelConfig(model=Tool, schema_config=ModelSchemaConfig(depth=1))

How can I achive this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions