Model for a response to add requests to a queue. Contains detailed information about the processing results when adding multiple requests to a queue. This includes which requests were successfully processed and which ones encountered issues during processing.
| 166 | |
| 167 | @docs_group('Storage data') |
| 168 | class AddRequestsResponse(BaseModel): |
| 169 | """Model for a response to add requests to a queue. |
| 170 | |
| 171 | Contains detailed information about the processing results when adding multiple requests |
| 172 | to a queue. This includes which requests were successfully processed and which ones |
| 173 | encountered issues during processing. |
| 174 | """ |
| 175 | |
| 176 | model_config = ConfigDict(validate_by_name=True, validate_by_alias=True, from_attributes=True) |
| 177 | |
| 178 | processed_requests: Annotated[list[ProcessedRequest], Field(alias='processedRequests')] |
| 179 | """Successfully processed requests, including information about whether they were |
| 180 | already present in the queue and whether they had been handled previously.""" |
| 181 | |
| 182 | unprocessed_requests: Annotated[list[UnprocessedRequest], Field(alias='unprocessedRequests')] |
| 183 | """Requests that could not be processed, typically due to validation errors or other issues.""" |
no outgoing calls