Package: qi-compute-api-client
compute-api-clientSorting and Pagination of list endpointsThe 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.Thecompute_api_clientpackage is automatically generated by theOpenAPI Generatorproject:API version: 0.1.0Package version: 1.0.0Build package: org.openapitools.codegen.languages.PythonClientCodegenRequirements.Python 3.7+Installation & UsageThis python library package is generated without supporting files like setup.py or requirements filesTo be able to use it, you will need these dependencies in your own package that uses this library:urllib3 >= 1.25.3python-dateutilaiohttppydanticGetting StartedIn your own code, to use this library to connect and interact with compute-api-client,
you can run the following:importtimeimportcompute_api_clientfromcompute_api_client.restimportApiExceptionfrompprintimportpprint# Defining the host is optional and defaults to http://localhost# See configuration.py for a list of all supported configuration parameters.configuration=compute_api_client.Configuration(host="http://localhost")# The client must configure the authentication and authorization parameters# in accordance with the API server security policy.# Examples for each auth method are provided below, use the example that# satisfies your auth use case.# Configure API key authorization: userconfiguration.api_key['user']=os.environ["API_KEY"]# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['user'] = 'Bearer'# Enter a context with an instance of the API clientasyncwithcompute_api_client.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=compute_api_client.AlgorithmsApi(api_client)algorithm_in=compute_api_client.AlgorithmIn()# AlgorithmIn |try:# Create algorithmapi_response=awaitapi_instance.create_algorithm_algorithms_post(algorithm_in)print("The response of AlgorithmsApi->create_algorithm_algorithms_post:\n")pprint(api_response)exceptApiExceptionase:print("Exception when calling AlgorithmsApi->create_algorithm_algorithms_post:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttp://localhostClassMethodHTTP requestDescriptionAlgorithmsApicreate_algorithm_algorithms_postPOST/algorithmsCreate algorithmAlgorithmsApidelete_algorithm_algorithms_id_deleteDELETE/algorithms/{id}Destroy algorithmAlgorithmsApiread_algorithm_algorithms_id_getGET/algorithms/{id}Retrieve algorithmAlgorithmsApiread_algorithms_algorithms_getGET/algorithmsList algorithmsAlgorithmsApiupdate_algorithm_algorithms_id_putPUT/algorithms/{id}Update algorithmBackendApicreate_backend_backends_postPOST/backendsCreate backendBackendApiread_backend_backends_id_getGET/backends/{id}Retrieve backendBackendApiread_backend_self_backends_me_getGET/backends/meRetrieve backendBackendApiread_backends_backends_getGET/backendsList backendsBackendApiupdate_backend_self_backends_me_patchPATCH/backends/meUpdate backendBackendTypesApiread_backend_type_backend_types_id_getGET/backend_types/{id}Retrieve backend typeBackendTypesApiread_backend_types_backend_types_getGET/backend_types/List backend typesBatchJobsApicreate_batch_job_batch_jobs_postPOST/batch_jobsCreate batch jobBatchJobsApienqueue_batch_job_batch_jobs_id_enqueue_patchPATCH/batch_jobs/{id}/enqueueEnqueue batch job for executionBatchJobsApifinish_batch_job_batch_jobs_id_finish_patchPATCH/batch_jobs/{id}/finishFinish batch jobBatchJobsApipeek_batch_job_batch_jobs_peek_patchPATCH/batch_jobs/peekPeek batch jobBatchJobsApipop_batch_job_batch_jobs_pop_patchPATCH/batch_jobs/popTake batch jobBatchJobsApiread_batch_jobs_batch_jobs_getGET/batch_jobsList batch jobsBatchJobsApiunpop_batch_job_batch_jobs_unpop_patchPATCH/batch_jobs/unpopTake batch jobCommitsApicreate_commit_commits_postPOST/commitsCreate commitCommitsApidelete_commit_commits_id_deleteDELETE/commits/{id}Destroy commitCommitsApiread_commit_commits_id_getGET/commits/{id}Get commit by IDCommitsApiread_commits_commits_getGET/commitsList commitsFilesApicreate_file_files_postPOST/filesCreate fileFilesApidelete_file_files_id_deleteDELETE/files/{id}Destroy fileFilesApiread_file_files_id_getGET/files/{id}Retrieve fileFilesApiread_files_files_getGET/filesList filesFinalResultsApicreate_final_result_final_results_postPOST/final_resultsCreate final resultFinalResultsApiread_final_result_by_job_id_final_results_job_job_id_getGET/final_results/job/{job_id}Retrieve final result by job IDFinalResultsApiread_final_result_final_results_id_getGET/final_results/{id}Retrieve final resultJobsApicreate_job_jobs_postPOST/jobsCreate jobJobsApidelete_job_jobs_id_deleteDELETE/jobs/{id}Destroy jobJobsApiread_job_jobs_id_getGET/jobs/{id}Retrieve jobJobsApiread_jobs_jobs_getGET/jobsList jobsJobsApiupdate_job_status_jobs_id_patchPATCH/jobs/{id}Update Job StatusLanguagesApiread_language_languages_id_getGET/languages/{id}Retrieve languageLanguagesApiread_languages_languages_getGET/languagesList languagesMembersApicreate_member_members_postPOST/membersCreate memberMembersApidelete_member_members_id_deleteDELETE/members/{id}Destroy memberMembersApiread_member_members_id_getGET/members/{id}Retrieve memberMembersApiread_members_members_getGET/membersList membersMetadataApicreate_metadata_self_metadata_postPOST/metadataCreate metadataMetadataApiread_metadata_by_backend_id_metadata_backend_backend_id_getGET/metadata/backend/{backend_id}Retrieve metadata by backend IDMetadataApiread_metadata_metadata_id_getGET/metadata/{id}Get metadata by IDPermissionsApiread_permission_group_permission_groups_id_getGET/permission_groups/{id}Retrieve permission groupsPermissionsApiread_permission_groups_permission_groups_getGET/permission_groups/List permission groupsPermissionsApiread_permission_permissions_id_getGET/permissions/{id}Retrieve permissionsPermissionsApiread_permissions_permissions_getGET/permissions/List permissionsProjectsApicreate_project_projects_postPOST/projectsCreate projectProjectsApidelete_project_projects_id_deleteDELETE/projects/{id}Destroy projectProjectsApipartial_update_project_projects_id_patchPATCH/projects/{id}Partially update projectProjectsApiread_project_projects_id_getGET/projects/{id}Retrieve projectProjectsApiread_projects_projects_getGET/projectsList projectsProjectsApiupdate_project_projects_id_putPUT/projects/{id}Update projectReservationsApicreate_reservation_reservations_postPOST/reservationsCreate reservationReservationsApiread_reservation_reservations_id_getGET/reservations/{id}Retrieve reservationReservationsApiread_reservations_reservations_getGET/reservationsList reservationsReservationsApiterminate_reservation_reservations_id_terminate_patchPATCH/reservations/{id}/terminateTerminate reservationResultsApicreate_result_results_postPOST/resultsCreate resultResultsApidelete_results_by_job_id_results_job_job_id_deleteDELETE/results/job/{job_id}Delete results by job IDResultsApiread_result_results_id_getGET/results/{id}Retrieve resultResultsApiread_results_by_job_id_results_job_job_id_getGET/results/job/{job_id}Retrieve results by job IDTeamsApiread_team_teams_id_getGET/teams/{id}Retrieve teamsTeamsApiread_teams_teams_getGET/teams/List teamsTransactionsApiread_transaction_transactions_id_getGET/transactions/{id}Retrieve transactionsTransactionsApiread_transactions_transactions_getGET/transactions/List transactionsUsersApicreate_user_users_postPOST/usersCreate userUsersApidelete_user_users_id_deleteDELETE/users/{id}Destroy userUsersApiread_user_users_id_getGET/users/{id}Retrieve userUsersApiread_users_users_getGET/usersList usersDocumentation For ModelsAlgorithmAlgorithmInAlgorithmTypeBackendBackendPatchBackendStatusBackendTypeBackendWithAuthenticationBatchJobBatchJobInBatchJobStatusCommitCommitInCompileStageDomainFileFileInFinalResultFinalResultInHTTPNotFoundErrorHTTPValidationErrorJobJobInJobPatchJobStatusLanguageLocationInnerMemberMemberInMetadataMetadataInPermissionPermissionGroupProjectProjectInProjectPatchReservationReservationInResultResultInRoleShareTypeTeamTransactionUserUserInValidationErrorDocumentation For AuthorizationAuthentication schemes defined for the API:userType: API keyAPI key parameter name: X-useridLocation: HTTP headerbackendType: API keyAPI key parameter name: AuthorizationLocation: HTTP headerAuthor