(
request: Request,
data: ActionBulkCreateRequest,
auth_info: Dict = Depends(auth_info_required),
)
| 19 | response_model=BaseDataResponse, |
| 20 | ) |
| 21 | async def api_bulk_create_actions( |
| 22 | request: Request, |
| 23 | data: ActionBulkCreateRequest, |
| 24 | auth_info: Dict = Depends(auth_info_required), |
| 25 | ): |
| 26 | actions: List[Action] = await bulk_create_actions( |
| 27 | openapi_schema=data.openapi_schema, |
| 28 | authentication=data.authentication, |
| 29 | ) |
| 30 | results = [action.to_response_dict() for action in actions] |
| 31 | return BaseDataResponse(data=results) |
| 32 | |
| 33 | |
| 34 | @router.post( |
nothing calls this directly
no test coverage detected