(self, request: Request)
| 130 | return await super().row_attributes(request, obj) |
| 131 | |
| 132 | async def get_actions(self, request: Request) -> List[Action]: |
| 133 | actions = await super().get_actions(request) |
| 134 | switch_status = Action( |
| 135 | label="Switch Status", |
| 136 | icon="ti ti-toggle-left", |
| 137 | name="switch_status", |
| 138 | method=Method.PUT, |
| 139 | ) |
| 140 | actions.append(switch_status) |
| 141 | return actions |
| 142 | |
| 143 | |
| 144 | @app.register |
nothing calls this directly
no test coverage detected