qi-compute-api-client 0.17.0__py3-none-any.whl → 0.27.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of qi-compute-api-client might be problematic. Click here for more details.

Files changed (104) hide show
  1. compute_api_client/__init__.py +2 -1
  2. compute_api_client/api/algorithms_api.py +110 -1
  3. compute_api_client/api/backend_api.py +71 -16
  4. compute_api_client/api/backend_types_api.py +106 -1
  5. compute_api_client/api/batch_jobs_api.py +310 -5
  6. compute_api_client/api/commits_api.py +56 -1
  7. compute_api_client/api/files_api.py +56 -1
  8. compute_api_client/api/final_results_api.py +4 -1
  9. compute_api_client/api/jobs_api.py +60 -2
  10. compute_api_client/api/languages_api.py +54 -1
  11. compute_api_client/api/members_api.py +57 -2
  12. compute_api_client/api/metadata_api.py +3 -1
  13. compute_api_client/api/permissions_api.py +107 -1
  14. compute_api_client/api/projects_api.py +80 -4
  15. compute_api_client/api/reservations_api.py +57 -2
  16. compute_api_client/api/results_api.py +268 -7
  17. compute_api_client/api/teams_api.py +54 -1
  18. compute_api_client/api/transactions_api.py +55 -2
  19. compute_api_client/api/users_api.py +73 -1
  20. compute_api_client/api_client.py +1 -1
  21. compute_api_client/configuration.py +8 -1
  22. compute_api_client/docs/Algorithm.md +1 -0
  23. compute_api_client/docs/AlgorithmIn.md +1 -0
  24. compute_api_client/docs/AlgorithmsApi.md +34 -7
  25. compute_api_client/docs/BackendApi.md +25 -10
  26. compute_api_client/docs/BackendIn.md +32 -0
  27. compute_api_client/docs/BackendType.md +3 -0
  28. compute_api_client/docs/BackendTypesApi.md +23 -4
  29. compute_api_client/docs/BatchJobIn.md +0 -1
  30. compute_api_client/docs/BatchJobsApi.md +101 -7
  31. compute_api_client/docs/CommitIn.md +0 -1
  32. compute_api_client/docs/CommitsApi.md +24 -6
  33. compute_api_client/docs/FilesApi.md +24 -6
  34. compute_api_client/docs/FinalResultsApi.md +12 -3
  35. compute_api_client/docs/JobIn.md +0 -1
  36. compute_api_client/docs/JobsApi.md +42 -7
  37. compute_api_client/docs/LanguagesApi.md +16 -4
  38. compute_api_client/docs/MembersApi.md +24 -6
  39. compute_api_client/docs/MetadataApi.md +8 -2
  40. compute_api_client/docs/PermissionsApi.md +32 -8
  41. compute_api_client/docs/ProjectsApi.md +35 -9
  42. compute_api_client/docs/ReservationsApi.md +24 -6
  43. compute_api_client/docs/ResultsApi.md +90 -6
  44. compute_api_client/docs/TeamsApi.md +16 -4
  45. compute_api_client/docs/TransactionsApi.md +16 -4
  46. compute_api_client/docs/User.md +1 -0
  47. compute_api_client/docs/UserIn.md +1 -0
  48. compute_api_client/docs/UsersApi.md +26 -6
  49. compute_api_client/exceptions.py +1 -1
  50. compute_api_client/models/__init__.py +2 -1
  51. compute_api_client/models/algorithm.py +10 -3
  52. compute_api_client/models/algorithm_in.py +10 -3
  53. compute_api_client/models/algorithm_type.py +1 -1
  54. compute_api_client/models/backend.py +1 -1
  55. compute_api_client/models/backend_in.py +98 -0
  56. compute_api_client/models/backend_patch.py +1 -1
  57. compute_api_client/models/backend_status.py +1 -1
  58. compute_api_client/models/backend_type.py +10 -3
  59. compute_api_client/models/backend_with_authentication.py +1 -1
  60. compute_api_client/models/batch_job.py +1 -1
  61. compute_api_client/models/batch_job_in.py +2 -4
  62. compute_api_client/models/batch_job_status.py +1 -1
  63. compute_api_client/models/commit.py +1 -1
  64. compute_api_client/models/commit_in.py +2 -6
  65. compute_api_client/models/compile_stage.py +1 -1
  66. compute_api_client/models/domain.py +1 -1
  67. compute_api_client/models/file.py +1 -1
  68. compute_api_client/models/file_in.py +1 -1
  69. compute_api_client/models/final_result.py +1 -1
  70. compute_api_client/models/final_result_in.py +1 -1
  71. compute_api_client/models/http_not_found_error.py +1 -1
  72. compute_api_client/models/http_validation_error.py +1 -1
  73. compute_api_client/models/job.py +1 -1
  74. compute_api_client/models/job_in.py +2 -5
  75. compute_api_client/models/job_patch.py +1 -1
  76. compute_api_client/models/job_status.py +1 -1
  77. compute_api_client/models/language.py +1 -1
  78. compute_api_client/models/location_inner.py +1 -1
  79. compute_api_client/models/member.py +1 -1
  80. compute_api_client/models/member_in.py +1 -1
  81. compute_api_client/models/metadata.py +1 -1
  82. compute_api_client/models/metadata_in.py +1 -1
  83. compute_api_client/models/permission.py +1 -1
  84. compute_api_client/models/permission_group.py +1 -1
  85. compute_api_client/models/project.py +1 -1
  86. compute_api_client/models/project_in.py +1 -1
  87. compute_api_client/models/project_patch.py +1 -1
  88. compute_api_client/models/reservation.py +1 -1
  89. compute_api_client/models/reservation_in.py +1 -1
  90. compute_api_client/models/result.py +1 -1
  91. compute_api_client/models/result_in.py +1 -1
  92. compute_api_client/models/role.py +1 -1
  93. compute_api_client/models/share_type.py +1 -1
  94. compute_api_client/models/team.py +1 -1
  95. compute_api_client/models/transaction.py +1 -1
  96. compute_api_client/models/user.py +5 -3
  97. compute_api_client/models/user_in.py +5 -3
  98. compute_api_client/models/validation_error.py +1 -1
  99. compute_api_client/rest.py +1 -1
  100. {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/METADATA +17 -5
  101. qi_compute_api_client-0.27.0.dist-info/RECORD +144 -0
  102. qi_compute_api_client-0.17.0.dist-info/RECORD +0 -142
  103. {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/LICENSE.md +0 -0
  104. {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/WHEEL +0 -0
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Quantum Inspire 2
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ **Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
7
7
 
8
8
  The version of the OpenAPI document: 0.1.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -25,7 +25,7 @@ except ImportError:
25
25
 
26
26
  from datetime import datetime
27
27
 
28
- from pydantic import StrictBool, StrictInt
28
+ from pydantic import StrictBool, StrictInt, StrictStr
29
29
 
30
30
  from typing import List, Optional
31
31
 
@@ -307,6 +307,7 @@ class ReservationsApi:
307
307
 
308
308
  # authentication setting
309
309
  _auth_settings: List[str] = [
310
+ 'user_bearer',
310
311
  'user'
311
312
  ]
312
313
 
@@ -575,6 +576,7 @@ class ReservationsApi:
575
576
 
576
577
  # authentication setting
577
578
  _auth_settings: List[str] = [
579
+ 'user_bearer',
578
580
  'user'
579
581
  ]
580
582
 
@@ -600,6 +602,9 @@ class ReservationsApi:
600
602
  async def read_reservations_reservations_get(
601
603
  self,
602
604
  latest: Optional[StrictBool] = None,
605
+ sort_by: Optional[StrictStr] = None,
606
+ page_number: Optional[StrictInt] = None,
607
+ items_per_page: Optional[StrictInt] = None,
603
608
  id: Optional[StrictInt] = None,
604
609
  member_id: Optional[StrictInt] = None,
605
610
  start_time: Optional[datetime] = None,
@@ -627,6 +632,12 @@ class ReservationsApi:
627
632
 
628
633
  :param latest:
629
634
  :type latest: bool
635
+ :param sort_by:
636
+ :type sort_by: str
637
+ :param page_number:
638
+ :type page_number: int
639
+ :param items_per_page:
640
+ :type items_per_page: int
630
641
  :param id:
631
642
  :type id: int
632
643
  :param member_id:
@@ -667,6 +678,9 @@ class ReservationsApi:
667
678
 
668
679
  _param = self._read_reservations_reservations_get_serialize(
669
680
  latest=latest,
681
+ sort_by=sort_by,
682
+ page_number=page_number,
683
+ items_per_page=items_per_page,
670
684
  id=id,
671
685
  member_id=member_id,
672
686
  start_time=start_time,
@@ -701,6 +715,9 @@ class ReservationsApi:
701
715
  async def read_reservations_reservations_get_with_http_info(
702
716
  self,
703
717
  latest: Optional[StrictBool] = None,
718
+ sort_by: Optional[StrictStr] = None,
719
+ page_number: Optional[StrictInt] = None,
720
+ items_per_page: Optional[StrictInt] = None,
704
721
  id: Optional[StrictInt] = None,
705
722
  member_id: Optional[StrictInt] = None,
706
723
  start_time: Optional[datetime] = None,
@@ -728,6 +745,12 @@ class ReservationsApi:
728
745
 
729
746
  :param latest:
730
747
  :type latest: bool
748
+ :param sort_by:
749
+ :type sort_by: str
750
+ :param page_number:
751
+ :type page_number: int
752
+ :param items_per_page:
753
+ :type items_per_page: int
731
754
  :param id:
732
755
  :type id: int
733
756
  :param member_id:
@@ -768,6 +791,9 @@ class ReservationsApi:
768
791
 
769
792
  _param = self._read_reservations_reservations_get_serialize(
770
793
  latest=latest,
794
+ sort_by=sort_by,
795
+ page_number=page_number,
796
+ items_per_page=items_per_page,
771
797
  id=id,
772
798
  member_id=member_id,
773
799
  start_time=start_time,
@@ -802,6 +828,9 @@ class ReservationsApi:
802
828
  async def read_reservations_reservations_get_without_preload_content(
803
829
  self,
804
830
  latest: Optional[StrictBool] = None,
831
+ sort_by: Optional[StrictStr] = None,
832
+ page_number: Optional[StrictInt] = None,
833
+ items_per_page: Optional[StrictInt] = None,
805
834
  id: Optional[StrictInt] = None,
806
835
  member_id: Optional[StrictInt] = None,
807
836
  start_time: Optional[datetime] = None,
@@ -829,6 +858,12 @@ class ReservationsApi:
829
858
 
830
859
  :param latest:
831
860
  :type latest: bool
861
+ :param sort_by:
862
+ :type sort_by: str
863
+ :param page_number:
864
+ :type page_number: int
865
+ :param items_per_page:
866
+ :type items_per_page: int
832
867
  :param id:
833
868
  :type id: int
834
869
  :param member_id:
@@ -869,6 +904,9 @@ class ReservationsApi:
869
904
 
870
905
  _param = self._read_reservations_reservations_get_serialize(
871
906
  latest=latest,
907
+ sort_by=sort_by,
908
+ page_number=page_number,
909
+ items_per_page=items_per_page,
872
910
  id=id,
873
911
  member_id=member_id,
874
912
  start_time=start_time,
@@ -898,6 +936,9 @@ class ReservationsApi:
898
936
  def _read_reservations_reservations_get_serialize(
899
937
  self,
900
938
  latest,
939
+ sort_by,
940
+ page_number,
941
+ items_per_page,
901
942
  id,
902
943
  member_id,
903
944
  start_time,
@@ -931,6 +972,18 @@ class ReservationsApi:
931
972
 
932
973
  _query_params.append(('latest', latest))
933
974
 
975
+ if sort_by is not None:
976
+
977
+ _query_params.append(('sort_by', sort_by))
978
+
979
+ if page_number is not None:
980
+
981
+ _query_params.append(('page_number', page_number))
982
+
983
+ if items_per_page is not None:
984
+
985
+ _query_params.append(('items_per_page', items_per_page))
986
+
934
987
  if id is not None:
935
988
 
936
989
  _query_params.append(('id', id))
@@ -996,6 +1049,7 @@ class ReservationsApi:
996
1049
 
997
1050
  # authentication setting
998
1051
  _auth_settings: List[str] = [
1052
+ 'user_bearer',
999
1053
  'user'
1000
1054
  ]
1001
1055
 
@@ -1264,6 +1318,7 @@ class ReservationsApi:
1264
1318
 
1265
1319
  # authentication setting
1266
1320
  _auth_settings: List[str] = [
1321
+ 'user_bearer',
1267
1322
  'user'
1268
1323
  ]
1269
1324
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Quantum Inspire 2
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ **Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
7
7
 
8
8
  The version of the OpenAPI document: 0.1.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -326,6 +326,265 @@ class ResultsApi:
326
326
 
327
327
 
328
328
 
329
+ @validate_call
330
+ async def delete_results_by_job_id_results_job_job_id_delete(
331
+ self,
332
+ job_id: StrictInt,
333
+ _request_timeout: Union[
334
+ None,
335
+ Annotated[StrictFloat, Field(gt=0)],
336
+ Tuple[
337
+ Annotated[StrictFloat, Field(gt=0)],
338
+ Annotated[StrictFloat, Field(gt=0)]
339
+ ]
340
+ ] = None,
341
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
342
+ _content_type: Optional[StrictStr] = None,
343
+ _headers: Optional[Dict[StrictStr, Any]] = None,
344
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
345
+ ) -> None:
346
+ """Delete results by job ID
347
+
348
+ Delete results by job ID.
349
+
350
+ :param job_id: (required)
351
+ :type job_id: int
352
+ :param _request_timeout: timeout setting for this request. If one
353
+ number provided, it will be total request
354
+ timeout. It can also be a pair (tuple) of
355
+ (connection, read) timeouts.
356
+ :type _request_timeout: int, tuple(int, int), optional
357
+ :param _request_auth: set to override the auth_settings for an a single
358
+ request; this effectively ignores the
359
+ authentication in the spec for a single request.
360
+ :type _request_auth: dict, optional
361
+ :param _content_type: force content-type for the request.
362
+ :type _content_type: str, Optional
363
+ :param _headers: set to override the headers for a single
364
+ request; this effectively ignores the headers
365
+ in the spec for a single request.
366
+ :type _headers: dict, optional
367
+ :param _host_index: set to override the host_index for a single
368
+ request; this effectively ignores the host_index
369
+ in the spec for a single request.
370
+ :type _host_index: int, optional
371
+ :return: Returns the result object.
372
+ """ # noqa: E501
373
+
374
+ _param = self._delete_results_by_job_id_results_job_job_id_delete_serialize(
375
+ job_id=job_id,
376
+ _request_auth=_request_auth,
377
+ _content_type=_content_type,
378
+ _headers=_headers,
379
+ _host_index=_host_index
380
+ )
381
+
382
+ _response_types_map: Dict[str, Optional[str]] = {
383
+
384
+ }
385
+ response_data = await self.api_client.call_api(
386
+ *_param,
387
+ _request_timeout=_request_timeout
388
+ )
389
+ await response_data.read()
390
+ return self.api_client.response_deserialize(
391
+ response_data=response_data,
392
+ response_types_map=_response_types_map,
393
+ ).data
394
+
395
+
396
+ @validate_call
397
+ async def delete_results_by_job_id_results_job_job_id_delete_with_http_info(
398
+ self,
399
+ job_id: StrictInt,
400
+ _request_timeout: Union[
401
+ None,
402
+ Annotated[StrictFloat, Field(gt=0)],
403
+ Tuple[
404
+ Annotated[StrictFloat, Field(gt=0)],
405
+ Annotated[StrictFloat, Field(gt=0)]
406
+ ]
407
+ ] = None,
408
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
409
+ _content_type: Optional[StrictStr] = None,
410
+ _headers: Optional[Dict[StrictStr, Any]] = None,
411
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
412
+ ) -> ApiResponse[None]:
413
+ """Delete results by job ID
414
+
415
+ Delete results by job ID.
416
+
417
+ :param job_id: (required)
418
+ :type job_id: int
419
+ :param _request_timeout: timeout setting for this request. If one
420
+ number provided, it will be total request
421
+ timeout. It can also be a pair (tuple) of
422
+ (connection, read) timeouts.
423
+ :type _request_timeout: int, tuple(int, int), optional
424
+ :param _request_auth: set to override the auth_settings for an a single
425
+ request; this effectively ignores the
426
+ authentication in the spec for a single request.
427
+ :type _request_auth: dict, optional
428
+ :param _content_type: force content-type for the request.
429
+ :type _content_type: str, Optional
430
+ :param _headers: set to override the headers for a single
431
+ request; this effectively ignores the headers
432
+ in the spec for a single request.
433
+ :type _headers: dict, optional
434
+ :param _host_index: set to override the host_index for a single
435
+ request; this effectively ignores the host_index
436
+ in the spec for a single request.
437
+ :type _host_index: int, optional
438
+ :return: Returns the result object.
439
+ """ # noqa: E501
440
+
441
+ _param = self._delete_results_by_job_id_results_job_job_id_delete_serialize(
442
+ job_id=job_id,
443
+ _request_auth=_request_auth,
444
+ _content_type=_content_type,
445
+ _headers=_headers,
446
+ _host_index=_host_index
447
+ )
448
+
449
+ _response_types_map: Dict[str, Optional[str]] = {
450
+
451
+ }
452
+ response_data = await self.api_client.call_api(
453
+ *_param,
454
+ _request_timeout=_request_timeout
455
+ )
456
+ await response_data.read()
457
+ return self.api_client.response_deserialize(
458
+ response_data=response_data,
459
+ response_types_map=_response_types_map,
460
+ )
461
+
462
+
463
+ @validate_call
464
+ async def delete_results_by_job_id_results_job_job_id_delete_without_preload_content(
465
+ self,
466
+ job_id: StrictInt,
467
+ _request_timeout: Union[
468
+ None,
469
+ Annotated[StrictFloat, Field(gt=0)],
470
+ Tuple[
471
+ Annotated[StrictFloat, Field(gt=0)],
472
+ Annotated[StrictFloat, Field(gt=0)]
473
+ ]
474
+ ] = None,
475
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
476
+ _content_type: Optional[StrictStr] = None,
477
+ _headers: Optional[Dict[StrictStr, Any]] = None,
478
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
479
+ ) -> RESTResponseType:
480
+ """Delete results by job ID
481
+
482
+ Delete results by job ID.
483
+
484
+ :param job_id: (required)
485
+ :type job_id: int
486
+ :param _request_timeout: timeout setting for this request. If one
487
+ number provided, it will be total request
488
+ timeout. It can also be a pair (tuple) of
489
+ (connection, read) timeouts.
490
+ :type _request_timeout: int, tuple(int, int), optional
491
+ :param _request_auth: set to override the auth_settings for an a single
492
+ request; this effectively ignores the
493
+ authentication in the spec for a single request.
494
+ :type _request_auth: dict, optional
495
+ :param _content_type: force content-type for the request.
496
+ :type _content_type: str, Optional
497
+ :param _headers: set to override the headers for a single
498
+ request; this effectively ignores the headers
499
+ in the spec for a single request.
500
+ :type _headers: dict, optional
501
+ :param _host_index: set to override the host_index for a single
502
+ request; this effectively ignores the host_index
503
+ in the spec for a single request.
504
+ :type _host_index: int, optional
505
+ :return: Returns the result object.
506
+ """ # noqa: E501
507
+
508
+ _param = self._delete_results_by_job_id_results_job_job_id_delete_serialize(
509
+ job_id=job_id,
510
+ _request_auth=_request_auth,
511
+ _content_type=_content_type,
512
+ _headers=_headers,
513
+ _host_index=_host_index
514
+ )
515
+
516
+ _response_types_map: Dict[str, Optional[str]] = {
517
+
518
+ }
519
+ response_data = await self.api_client.call_api(
520
+ *_param,
521
+ _request_timeout=_request_timeout
522
+ )
523
+ return response_data.response
524
+
525
+
526
+ def _delete_results_by_job_id_results_job_job_id_delete_serialize(
527
+ self,
528
+ job_id,
529
+ _request_auth,
530
+ _content_type,
531
+ _headers,
532
+ _host_index,
533
+ ) -> Tuple:
534
+
535
+ _host = None
536
+
537
+ _collection_formats: Dict[str, str] = {
538
+
539
+ }
540
+
541
+ _path_params: Dict[str, str] = {}
542
+ _query_params: List[Tuple[str, str]] = []
543
+ _header_params: Dict[str, Optional[str]] = _headers or {}
544
+ _form_params: List[Tuple[str, str]] = []
545
+ _files: Dict[str, str] = {}
546
+ _body_params: Optional[bytes] = None
547
+
548
+ # process the path parameters
549
+ if job_id is not None:
550
+ _path_params['job_id'] = job_id
551
+ # process the query parameters
552
+ # process the header parameters
553
+ # process the form parameters
554
+ # process the body parameter
555
+
556
+
557
+ # set the HTTP header `Accept`
558
+ _header_params['Accept'] = self.api_client.select_header_accept(
559
+ [
560
+ 'application/json'
561
+ ]
562
+ )
563
+
564
+
565
+ # authentication setting
566
+ _auth_settings: List[str] = [
567
+ 'backend'
568
+ ]
569
+
570
+ return self.api_client.param_serialize(
571
+ method='DELETE',
572
+ resource_path='/results/job/{job_id}',
573
+ path_params=_path_params,
574
+ query_params=_query_params,
575
+ header_params=_header_params,
576
+ body=_body_params,
577
+ post_params=_form_params,
578
+ files=_files,
579
+ auth_settings=_auth_settings,
580
+ collection_formats=_collection_formats,
581
+ _host=_host,
582
+ _request_auth=_request_auth
583
+ )
584
+
585
+
586
+
587
+
329
588
  @validate_call
330
589
  async def read_result_results_id_get(
331
590
  self,
@@ -573,6 +832,7 @@ class ResultsApi:
573
832
 
574
833
  # authentication setting
575
834
  _auth_settings: List[str] = [
835
+ 'user_bearer',
576
836
  'user'
577
837
  ]
578
838
 
@@ -611,9 +871,9 @@ class ResultsApi:
611
871
  _headers: Optional[Dict[StrictStr, Any]] = None,
612
872
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
613
873
  ) -> List[Result]:
614
- """Retrieve result
874
+ """Retrieve results by job ID
615
875
 
616
- Get result by ID.
876
+ Get results by job ID.
617
877
 
618
878
  :param job_id: (required)
619
879
  :type job_id: int
@@ -681,9 +941,9 @@ class ResultsApi:
681
941
  _headers: Optional[Dict[StrictStr, Any]] = None,
682
942
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
683
943
  ) -> ApiResponse[List[Result]]:
684
- """Retrieve result
944
+ """Retrieve results by job ID
685
945
 
686
- Get result by ID.
946
+ Get results by job ID.
687
947
 
688
948
  :param job_id: (required)
689
949
  :type job_id: int
@@ -751,9 +1011,9 @@ class ResultsApi:
751
1011
  _headers: Optional[Dict[StrictStr, Any]] = None,
752
1012
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
753
1013
  ) -> RESTResponseType:
754
- """Retrieve result
1014
+ """Retrieve results by job ID
755
1015
 
756
- Get result by ID.
1016
+ Get results by job ID.
757
1017
 
758
1018
  :param job_id: (required)
759
1019
  :type job_id: int
@@ -841,6 +1101,7 @@ class ResultsApi:
841
1101
 
842
1102
  # authentication setting
843
1103
  _auth_settings: List[str] = [
1104
+ 'user_bearer',
844
1105
  'user'
845
1106
  ]
846
1107
 
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Quantum Inspire 2
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ **Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
7
7
 
8
8
  The version of the OpenAPI document: 0.1.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -294,6 +294,7 @@ class TeamsApi:
294
294
 
295
295
  # authentication setting
296
296
  _auth_settings: List[str] = [
297
+ 'user_bearer',
297
298
  'user'
298
299
  ]
299
300
 
@@ -319,6 +320,9 @@ class TeamsApi:
319
320
  async def read_teams_teams_get(
320
321
  self,
321
322
  latest: Optional[StrictBool] = None,
323
+ sort_by: Optional[StrictStr] = None,
324
+ page_number: Optional[StrictInt] = None,
325
+ items_per_page: Optional[StrictInt] = None,
322
326
  id: Optional[StrictInt] = None,
323
327
  name: Optional[StrictStr] = None,
324
328
  slug: Optional[StrictStr] = None,
@@ -342,6 +346,12 @@ class TeamsApi:
342
346
 
343
347
  :param latest:
344
348
  :type latest: bool
349
+ :param sort_by:
350
+ :type sort_by: str
351
+ :param page_number:
352
+ :type page_number: int
353
+ :param items_per_page:
354
+ :type items_per_page: int
345
355
  :param id:
346
356
  :type id: int
347
357
  :param name:
@@ -374,6 +384,9 @@ class TeamsApi:
374
384
 
375
385
  _param = self._read_teams_teams_get_serialize(
376
386
  latest=latest,
387
+ sort_by=sort_by,
388
+ page_number=page_number,
389
+ items_per_page=items_per_page,
377
390
  id=id,
378
391
  name=name,
379
392
  slug=slug,
@@ -404,6 +417,9 @@ class TeamsApi:
404
417
  async def read_teams_teams_get_with_http_info(
405
418
  self,
406
419
  latest: Optional[StrictBool] = None,
420
+ sort_by: Optional[StrictStr] = None,
421
+ page_number: Optional[StrictInt] = None,
422
+ items_per_page: Optional[StrictInt] = None,
407
423
  id: Optional[StrictInt] = None,
408
424
  name: Optional[StrictStr] = None,
409
425
  slug: Optional[StrictStr] = None,
@@ -427,6 +443,12 @@ class TeamsApi:
427
443
 
428
444
  :param latest:
429
445
  :type latest: bool
446
+ :param sort_by:
447
+ :type sort_by: str
448
+ :param page_number:
449
+ :type page_number: int
450
+ :param items_per_page:
451
+ :type items_per_page: int
430
452
  :param id:
431
453
  :type id: int
432
454
  :param name:
@@ -459,6 +481,9 @@ class TeamsApi:
459
481
 
460
482
  _param = self._read_teams_teams_get_serialize(
461
483
  latest=latest,
484
+ sort_by=sort_by,
485
+ page_number=page_number,
486
+ items_per_page=items_per_page,
462
487
  id=id,
463
488
  name=name,
464
489
  slug=slug,
@@ -489,6 +514,9 @@ class TeamsApi:
489
514
  async def read_teams_teams_get_without_preload_content(
490
515
  self,
491
516
  latest: Optional[StrictBool] = None,
517
+ sort_by: Optional[StrictStr] = None,
518
+ page_number: Optional[StrictInt] = None,
519
+ items_per_page: Optional[StrictInt] = None,
492
520
  id: Optional[StrictInt] = None,
493
521
  name: Optional[StrictStr] = None,
494
522
  slug: Optional[StrictStr] = None,
@@ -512,6 +540,12 @@ class TeamsApi:
512
540
 
513
541
  :param latest:
514
542
  :type latest: bool
543
+ :param sort_by:
544
+ :type sort_by: str
545
+ :param page_number:
546
+ :type page_number: int
547
+ :param items_per_page:
548
+ :type items_per_page: int
515
549
  :param id:
516
550
  :type id: int
517
551
  :param name:
@@ -544,6 +578,9 @@ class TeamsApi:
544
578
 
545
579
  _param = self._read_teams_teams_get_serialize(
546
580
  latest=latest,
581
+ sort_by=sort_by,
582
+ page_number=page_number,
583
+ items_per_page=items_per_page,
547
584
  id=id,
548
585
  name=name,
549
586
  slug=slug,
@@ -569,6 +606,9 @@ class TeamsApi:
569
606
  def _read_teams_teams_get_serialize(
570
607
  self,
571
608
  latest,
609
+ sort_by,
610
+ page_number,
611
+ items_per_page,
572
612
  id,
573
613
  name,
574
614
  slug,
@@ -598,6 +638,18 @@ class TeamsApi:
598
638
 
599
639
  _query_params.append(('latest', latest))
600
640
 
641
+ if sort_by is not None:
642
+
643
+ _query_params.append(('sort_by', sort_by))
644
+
645
+ if page_number is not None:
646
+
647
+ _query_params.append(('page_number', page_number))
648
+
649
+ if items_per_page is not None:
650
+
651
+ _query_params.append(('items_per_page', items_per_page))
652
+
601
653
  if id is not None:
602
654
 
603
655
  _query_params.append(('id', id))
@@ -629,6 +681,7 @@ class TeamsApi:
629
681
 
630
682
  # authentication setting
631
683
  _auth_settings: List[str] = [
684
+ 'user_bearer',
632
685
  'user'
633
686
  ]
634
687