compose-api-client 0.7.6__tar.gz → 0.7.72__tar.gz
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.
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/.gitignore +2 -0
- compose_api_client-0.7.72/PKG-INFO +52 -0
- compose_api_client-0.7.72/README.md +18 -0
- compose_api_client-0.7.72/compose_api_client/api/authentication/get_current_principal.py +134 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/curated/run_copasi.py +32 -1
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/curated/run_tellurium.py +32 -1
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/datasets/get_dataset.py +14 -12
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/datasets/get_dataset_content.py +20 -15
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/datasets/get_dataset_file.py +18 -14
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/datasets/list_datasets.py +14 -12
- compose_api_client-0.7.72/compose_api_client/api/favorites/add_favorite.py +196 -0
- compose_api_client-0.7.72/compose_api_client/api/favorites/list_favorites.py +185 -0
- compose_api_client-0.7.72/compose_api_client/api/favorites/remove_favorite.py +187 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/build_environment.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/build_simulator.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/create_environment_version.py +259 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/export_environment_version.py +216 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/get_environment_headers.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/get_environment_images.py +167 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/get_environment_manifest.py +175 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/get_environment_version.py +216 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/get_environment_version_compliance.py +185 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/get_simulator.py +167 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/get_simulator_images.py +167 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/inspect_environment_version.py +216 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/list_environment_versions.py +167 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/list_environments.py +145 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/list_registry_entries.py +133 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/list_simulators.py +131 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/list_solvers.py +129 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/retire_environment_version.py +196 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/run_environment_version_compliance.py +196 -0
- compose_api_client-0.7.72/compose_api_client/api/registry/set_environment_default.py +203 -0
- compose_api_client-0.7.72/compose_api_client/api/results/__init__.py +1 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/results/get_simulation_events.py +14 -12
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/results/get_simulation_results_file.py +18 -14
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/results/get_simulation_status.py +14 -12
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/results/get_simulation_trace.py +14 -12
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/results/get_simulation_trace_chrome.py +16 -16
- compose_api_client-0.7.72/compose_api_client/api/results/get_simulator_build_log.py +170 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/results/get_simulator_build_status.py +14 -12
- compose_api_client-0.7.72/compose_api_client/api/sed_ml/__init__.py +1 -0
- compose_api_client-0.7.72/compose_api_client/api/sed_ml/get_comparison.py +167 -0
- compose_api_client-0.7.72/compose_api_client/api/sed_ml/get_comparison_series.py +188 -0
- compose_api_client-0.7.72/compose_api_client/api/sed_ml/list_comparison_verifications.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/sed_ml/list_comparisons.py +226 -0
- compose_api_client-0.7.72/compose_api_client/api/sed_ml/preview_sedml.py +198 -0
- compose_api_client-0.7.72/compose_api_client/api/sed_ml/run_sedml.py +377 -0
- compose_api_client-0.7.72/compose_api_client/api/sed_ml/verify_comparison.py +196 -0
- compose_api_client-0.7.72/compose_api_client/api/simulation/__init__.py +1 -0
- compose_api_client-0.7.72/compose_api_client/api/simulation/run_simulation.py +421 -0
- compose_api_client-0.7.72/compose_api_client/api/simulations/__init__.py +1 -0
- compose_api_client-0.7.72/compose_api_client/api/simulations/cancel_simulation.py +207 -0
- compose_api_client-0.7.72/compose_api_client/api/simulations/change_simulation_visibility.py +219 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/simulations/get_simulation.py +14 -12
- compose_api_client-0.7.72/compose_api_client/api/simulations/list_simulations.py +417 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/__init__.py +1 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/get_biomodel.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/get_biomodel_omex.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/get_biosimulations_omex.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/get_biosimulations_project.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/get_biosimulations_reference.py +174 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/run_biomodel.py +339 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/run_biosimulations_project.py +339 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/search_biomodels.py +207 -0
- compose_api_client-0.7.72/compose_api_client/api/sources/search_biosimulations_projects.py +192 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/__init__.py +1 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/clear_suite_problem.py +221 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/edit_suite_problem.py +216 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/get_suite_run.py +181 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/list_suite_problems.py +198 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/list_suite_runs.py +172 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/list_suites.py +129 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/mark_suite_problem.py +212 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/run_suite.py +224 -0
- compose_api_client-0.7.72/compose_api_client/api/suites/verify_suite_run.py +211 -0
- compose_api_client-0.7.72/compose_api_client/auth/__init__.py +23 -0
- compose_api_client-0.7.72/compose_api_client/auth/browser.py +197 -0
- compose_api_client-0.7.72/compose_api_client/auth/callback.py +204 -0
- compose_api_client-0.7.72/compose_api_client/auth/device.py +166 -0
- compose_api_client-0.7.72/compose_api_client/auth/identity.py +56 -0
- compose_api_client-0.7.72/compose_api_client/auth/models.py +111 -0
- compose_api_client-0.7.72/compose_api_client/auth/oauth.py +541 -0
- compose_api_client-0.7.72/compose_api_client/auth/session.py +241 -0
- compose_api_client-0.7.72/compose_api_client/auth/signin.py +123 -0
- compose_api_client-0.7.72/compose_api_client/auth/sources.py +156 -0
- compose_api_client-0.7.72/compose_api_client/auth/state.py +224 -0
- compose_api_client-0.7.72/compose_api_client/auth/storage.py +209 -0
- compose_api_client-0.7.72/compose_api_client/auth/windows_state.py +143 -0
- compose_api_client-0.7.72/compose_api_client/cli/__main__.py +8 -0
- compose_api_client-0.7.72/compose_api_client/cli/auth_commands.py +192 -0
- compose_api_client-0.7.72/compose_api_client/cli/commands.py +2377 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/cli/render.py +62 -12
- compose_api_client-0.7.72/compose_api_client/cli/wiring.py +46 -0
- compose_api_client-0.7.72/compose_api_client/ext/__init__.py +90 -0
- compose_api_client-0.7.72/compose_api_client/ext/_policy.py +242 -0
- compose_api_client-0.7.72/compose_api_client/ext/credentials.py +109 -0
- compose_api_client-0.7.72/compose_api_client/ext/errors.py +240 -0
- compose_api_client-0.7.72/compose_api_client/ext/json_types.py +6 -0
- compose_api_client-0.7.72/compose_api_client/ext/session.py +2423 -0
- compose_api_client-0.7.72/compose_api_client/models/__init__.py +303 -0
- compose_api_client-0.7.72/compose_api_client/models/address_violation.py +86 -0
- compose_api_client-0.7.72/compose_api_client/models/biomodel_hit.py +109 -0
- compose_api_client-0.7.72/compose_api_client/models/biomodel_info.py +157 -0
- compose_api_client-0.7.72/compose_api_client/models/body_preview_sedml.py +73 -0
- compose_api_client-0.7.72/compose_api_client/models/body_run_sedml.py +73 -0
- compose_api_client-0.7.72/compose_api_client/models/catalog_entry.py +205 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison.py +219 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_member.py +89 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_page.py +103 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_result_type_0.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_series.py +92 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_series_references.py +62 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_series_references_additional_property.py +67 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_series_solvers.py +60 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_series_solvers_additional_property.py +67 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_settings.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/comparison_status.py +10 -0
- compose_api_client-0.7.72/compose_api_client/models/compliance_case.py +102 -0
- compose_api_client-0.7.72/compose_api_client/models/compliance_report.py +133 -0
- compose_api_client-0.7.72/compose_api_client/models/compliance_report_findings_item.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/curation_level.py +12 -0
- compose_api_client-0.7.72/compose_api_client/models/current_principal_response.py +114 -0
- compose_api_client-0.7.6/compose_api_client/models/get_simulation_trace_chrome_response_get_simulation_trace_chrome.py → compose_api_client-0.7.72/compose_api_client/models/default_version.py +19 -5
- compose_api_client-0.7.72/compose_api_client/models/drift.py +109 -0
- compose_api_client-0.7.72/compose_api_client/models/entry_compliance.py +98 -0
- compose_api_client-0.7.72/compose_api_client/models/entry_environment.py +68 -0
- compose_api_client-0.7.72/compose_api_client/models/entry_ref.py +70 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_export.py +92 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_export_files.py +47 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_headers.py +91 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_headers_components.py +47 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_image.py +219 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_summary.py +178 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_summary_kind.py +10 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_version.py +369 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_version_detail.py +554 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_version_detail_findings_type_0_item.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_version_detail_interfaces_type_0.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_version_detail_spec_type_0.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_version_spec_type_0.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/environment_versions.py +127 -0
- compose_api_client-0.7.72/compose_api_client/models/error_detail.py +60 -0
- compose_api_client-0.7.72/compose_api_client/models/favorite.py +91 -0
- compose_api_client-0.7.72/compose_api_client/models/favorite_kind.py +10 -0
- compose_api_client-0.7.72/compose_api_client/models/favorite_removal.py +78 -0
- compose_api_client-0.7.72/compose_api_client/models/get_biosimulations_reference_response_get_biosimulations_reference.py +68 -0
- compose_api_client-0.7.72/compose_api_client/models/get_biosimulations_reference_response_get_biosimulations_reference_additional_property.py +54 -0
- compose_api_client-0.7.72/compose_api_client/models/header_module.py +67 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/hpc_run.py +38 -3
- compose_api_client-0.7.72/compose_api_client/models/image_kind.py +9 -0
- compose_api_client-0.7.72/compose_api_client/models/image_state.py +11 -0
- compose_api_client-0.7.72/compose_api_client/models/image_status.py +191 -0
- compose_api_client-0.7.72/compose_api_client/models/interface_component.py +249 -0
- compose_api_client-0.7.72/compose_api_client/models/interface_component_config_schema.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/interface_component_inputs_type_0.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/interface_component_outputs_type_0.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/interface_manifest.py +161 -0
- compose_api_client-0.7.72/compose_api_client/models/interface_manifest_environment_type_0.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/interface_manifest_errors_item.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/known_problem.py +223 -0
- compose_api_client-0.7.72/compose_api_client/models/known_problem_clear.py +60 -0
- compose_api_client-0.7.72/compose_api_client/models/known_problem_edit.py +94 -0
- compose_api_client-0.7.72/compose_api_client/models/known_problem_mark.py +118 -0
- compose_api_client-0.7.72/compose_api_client/models/new_environment_version.py +109 -0
- compose_api_client-0.7.72/compose_api_client/models/no_task_accepted.py +82 -0
- compose_api_client-0.7.72/compose_api_client/models/package_change.py +102 -0
- compose_api_client-0.7.72/compose_api_client/models/project_info.py +157 -0
- compose_api_client-0.7.72/compose_api_client/models/rejection.py +82 -0
- compose_api_client-0.7.72/compose_api_client/models/sedml_finding.py +139 -0
- compose_api_client-0.7.72/compose_api_client/models/sedml_finding_severity.py +10 -0
- compose_api_client-0.7.72/compose_api_client/models/sedml_preview.py +99 -0
- compose_api_client-0.7.72/compose_api_client/models/sedml_run_error.py +97 -0
- compose_api_client-0.7.72/compose_api_client/models/sedml_run_result.py +91 -0
- compose_api_client-0.7.72/compose_api_client/models/sedml_task.py +127 -0
- compose_api_client-0.7.72/compose_api_client/models/simulation_cancellation.py +92 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/simulation_detail.py +141 -1
- compose_api_client-0.7.72/compose_api_client/models/simulation_detail_labels.py +45 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/simulation_summary.py +141 -1
- compose_api_client-0.7.72/compose_api_client/models/simulation_summary_labels.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/simulator_detail.py +205 -0
- compose_api_client-0.7.72/compose_api_client/models/simulator_summary.py +198 -0
- compose_api_client-0.7.72/compose_api_client/models/solver.py +114 -0
- compose_api_client-0.7.72/compose_api_client/models/submission_error.py +84 -0
- compose_api_client-0.7.72/compose_api_client/models/submission_info.py +122 -0
- compose_api_client-0.7.72/compose_api_client/models/submission_state.py +12 -0
- compose_api_client-0.7.72/compose_api_client/models/suite.py +171 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_run_info.py +106 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_run_info_environment_versions.py +50 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_run_row.py +357 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_run_row_drift_type_0.py +58 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_run_row_known_problems.py +47 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_run_view.py +156 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_run_view_environment_versions.py +47 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_run_view_summary.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_verify.py +10 -0
- compose_api_client-0.7.72/compose_api_client/models/suite_verify_result.py +76 -0
- compose_api_client-0.7.72/compose_api_client/models/tolerances.py +81 -0
- compose_api_client-0.7.72/compose_api_client/models/trace_document.py +91 -0
- compose_api_client-0.7.72/compose_api_client/models/trace_document_otherdata.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/trace_event.py +144 -0
- compose_api_client-0.7.72/compose_api_client/models/trace_event_args.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/unprocessable_error.py +91 -0
- compose_api_client-0.7.72/compose_api_client/models/validation_issue.py +89 -0
- compose_api_client-0.7.72/compose_api_client/models/verification.py +269 -0
- compose_api_client-0.7.72/compose_api_client/models/verification_failed_simulators_item.py +45 -0
- compose_api_client-0.7.72/compose_api_client/models/verification_state.py +11 -0
- compose_api_client-0.7.72/compose_api_client/models/verify_request.py +86 -0
- compose_api_client-0.7.72/compose_api_client/models/verify_suite_run_which.py +9 -0
- compose_api_client-0.7.72/compose_api_client/models/version_ref.py +68 -0
- compose_api_client-0.7.72/compose_api_client/models/version_state.py +12 -0
- compose_api_client-0.7.72/compose_api_client/models/visibility_change.py +62 -0
- compose_api_client-0.7.72/compose_api_client/models/visibility_changed.py +71 -0
- compose_api_client-0.7.72/compose_api_client/openapi.json +10306 -0
- compose_api_client-0.7.72/compose_api_client/profiles.py +490 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/pyproject.toml +24 -2
- compose_api_client-0.7.6/PKG-INFO +0 -28
- compose_api_client-0.7.6/README.md +0 -11
- compose_api_client-0.7.6/compose_api_client/api/simulation/run_simulation.py +0 -237
- compose_api_client-0.7.6/compose_api_client/api/simulations/list_simulations.py +0 -251
- compose_api_client-0.7.6/compose_api_client/cli/commands.py +0 -731
- compose_api_client-0.7.6/compose_api_client/ext/__init__.py +0 -28
- compose_api_client-0.7.6/compose_api_client/ext/errors.py +0 -69
- compose_api_client-0.7.6/compose_api_client/ext/session.py +0 -710
- compose_api_client-0.7.6/compose_api_client/models/__init__.py +0 -85
- compose_api_client-0.7.6/compose_api_client/openapi.json +0 -2489
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/__init__.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/__init__.py +0 -0
- {compose_api_client-0.7.6/compose_api_client/api/biosim_api → compose_api_client-0.7.72/compose_api_client/api/authentication}/__init__.py +0 -0
- {compose_api_client-0.7.6/compose_api_client/api/compute → compose_api_client-0.7.72/compose_api_client/api/biosim_api}/__init__.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/biosim_api/check_health_health_get.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/biosim_api/get_version_version_get.py +0 -0
- {compose_api_client-0.7.6/compose_api_client/api/curated → compose_api_client-0.7.72/compose_api_client/api/compute}/__init__.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/compute/get_processes_list.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/compute/get_simulator_list.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/compute/get_steps_list.py +0 -0
- {compose_api_client-0.7.6/compose_api_client/api/datasets → compose_api_client-0.7.72/compose_api_client/api/curated}/__init__.py +0 -0
- {compose_api_client-0.7.6/compose_api_client/api/results → compose_api_client-0.7.72/compose_api_client/api/datasets}/__init__.py +0 -0
- {compose_api_client-0.7.6/compose_api_client/api/simulation → compose_api_client-0.7.72/compose_api_client/api/favorites}/__init__.py +0 -0
- {compose_api_client-0.7.6/compose_api_client/api/simulations → compose_api_client-0.7.72/compose_api_client/api/registry}/__init__.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/results/get_simulations_status_batch.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/cli/__init__.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/client.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/errors.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/bi_graph_compute_type.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/bi_graph_process.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/bi_graph_step.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/body_run_copasi.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/body_run_simulation.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/body_run_tellurium.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/check_health_health_get_response_check_health_health_get.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/containerization_engine.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/containerization_file_repr.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/dataset.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/dataset_attributes.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/dataset_page.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/http_validation_error.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/job_status.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/job_type.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/list_simulations_status_type_0.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/package_type.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/registered_package.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/registered_simulators.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/run_event.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/run_event_baggage_type_0.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/run_event_page.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/run_event_payload_type_0.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/run_event_tags_type_0.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/run_span.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/run_span_attrs_type_0.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/run_trace_tree.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/simulation_experiment.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/simulation_experiment_metadata.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/simulation_page.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/simulator_version.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/span_tree.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/validation_error.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/validation_error_context.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/models/visibility.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/py.typed +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/types.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/utils/__init__.py +0 -0
- {compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/utils/run_simulation_and_wait.py +0 -0
|
@@ -30,6 +30,7 @@ share/python-wheels/
|
|
|
30
30
|
.installed.cfg
|
|
31
31
|
*.egg
|
|
32
32
|
MANIFEST
|
|
33
|
+
.DS_Store
|
|
33
34
|
|
|
34
35
|
# PyInstaller
|
|
35
36
|
# Usually these files are written by a python script from a template
|
|
@@ -143,6 +144,7 @@ celerybeat.pid
|
|
|
143
144
|
.env
|
|
144
145
|
.envrc
|
|
145
146
|
.venv
|
|
147
|
+
.pblang
|
|
146
148
|
env/
|
|
147
149
|
venv/
|
|
148
150
|
ENV/
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: compose-api-client
|
|
3
|
+
Version: 0.7.72
|
|
4
|
+
Summary: Python client for compose-api: generated from its OpenAPI spec, plus a hand-written application layer
|
|
5
|
+
Project-URL: Repository, https://github.com/biosimulations/compose-api
|
|
6
|
+
Project-URL: Documentation, https://github.com/biosimulations/compose-api/blob/main/docs/plan-cli.md
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Requires-Python: >=3.11
|
|
9
|
+
Requires-Dist: attrs>=25.4.0
|
|
10
|
+
Requires-Dist: httpx<0.29,>=0.28.1
|
|
11
|
+
Requires-Dist: python-dateutil>=2.9.0.post0
|
|
12
|
+
Provides-Extra: auth
|
|
13
|
+
Requires-Dist: authlib<2,>=1.8.0; extra == 'auth'
|
|
14
|
+
Requires-Dist: joserfc<2,>=1.7.5; extra == 'auth'
|
|
15
|
+
Requires-Dist: keyring<26,>=25.7; extra == 'auth'
|
|
16
|
+
Requires-Dist: platformdirs<5,>=4.5.1; extra == 'auth'
|
|
17
|
+
Requires-Dist: portalocker<5,>=3.2; extra == 'auth'
|
|
18
|
+
Requires-Dist: pydantic<3,>=2.11.5; extra == 'auth'
|
|
19
|
+
Requires-Dist: pyjwt[crypto]<3,>=2.15.0; extra == 'auth'
|
|
20
|
+
Requires-Dist: pywin32>=311; (sys_platform == 'win32') and extra == 'auth'
|
|
21
|
+
Provides-Extra: cli
|
|
22
|
+
Requires-Dist: authlib<2,>=1.8.0; extra == 'cli'
|
|
23
|
+
Requires-Dist: click>=8.1; extra == 'cli'
|
|
24
|
+
Requires-Dist: joserfc<2,>=1.7.5; extra == 'cli'
|
|
25
|
+
Requires-Dist: keyring<26,>=25.7; extra == 'cli'
|
|
26
|
+
Requires-Dist: platformdirs<5,>=4.5.1; extra == 'cli'
|
|
27
|
+
Requires-Dist: portalocker<5,>=3.2; extra == 'cli'
|
|
28
|
+
Requires-Dist: pydantic<3,>=2.11.5; extra == 'cli'
|
|
29
|
+
Requires-Dist: pyjwt[crypto]<3,>=2.15.0; extra == 'cli'
|
|
30
|
+
Requires-Dist: pywin32>=311; (sys_platform == 'win32') and extra == 'cli'
|
|
31
|
+
Requires-Dist: rich>=13.7; extra == 'cli'
|
|
32
|
+
Requires-Dist: typer<0.26,>=0.18; extra == 'cli'
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
34
|
+
|
|
35
|
+
# compose-api-client
|
|
36
|
+
|
|
37
|
+
The Python client for [compose-api](https://github.com/biosimulations/compose-api).
|
|
38
|
+
|
|
39
|
+
- `compose_api_client` (`api/`, `models/`, `client.py`, `types.py`, `errors.py`, `openapi.json`): **generated** from the
|
|
40
|
+
service's OpenAPI spec by `make clients` in the repository root. Never edit these by hand; `make check-clients` fails
|
|
41
|
+
on drift.
|
|
42
|
+
- `compose_api_client.ext` (`session.py`, `credentials.py`, `_policy.py`, `errors.py`): hand-written application layer
|
|
43
|
+
(`ComposeSession`, `AsyncComposeSession`, `TokenSource`, destination guard, 1-renewal read replay on 401, typed
|
|
44
|
+
`ExitCode` / `CliError` hierarchy). Base package dependencies only (`attrs`, `httpx`, `python-dateutil`).
|
|
45
|
+
- `compose_api_client.auth` and `compose_api_client.profiles` (`compose-api-client[auth]`): Auth0 OAuth 2.0 / OIDC
|
|
46
|
+
client (browser PKCE and RFC 8628 device flow), OS-keychain `CredentialStore`, journaled `AuthSession` renewal and
|
|
47
|
+
revocation, and profile resolution (`BUILTIN_PROFILES`, `COMPOSE_API_CLI_*`, `config.toml`).
|
|
48
|
+
- `compose_api_client.cli` (`compose-api-client[cli]`): the `compose-api` command-line client.
|
|
49
|
+
- `compose_api_client.utils.run_simulation_and_wait`: the hand-written helper pbest uses (kept from 0.2.0).
|
|
50
|
+
|
|
51
|
+
Until 0.2.0 this package lived in [biosimulations/compose-api-client](https://github.com/biosimulations/compose-api-client);
|
|
52
|
+
it was brought here with its history. See [`docs/cli.md`](../../docs/cli.md) and [`docs/plan-cli.md`](../../docs/plan-cli.md).
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# compose-api-client
|
|
2
|
+
|
|
3
|
+
The Python client for [compose-api](https://github.com/biosimulations/compose-api).
|
|
4
|
+
|
|
5
|
+
- `compose_api_client` (`api/`, `models/`, `client.py`, `types.py`, `errors.py`, `openapi.json`): **generated** from the
|
|
6
|
+
service's OpenAPI spec by `make clients` in the repository root. Never edit these by hand; `make check-clients` fails
|
|
7
|
+
on drift.
|
|
8
|
+
- `compose_api_client.ext` (`session.py`, `credentials.py`, `_policy.py`, `errors.py`): hand-written application layer
|
|
9
|
+
(`ComposeSession`, `AsyncComposeSession`, `TokenSource`, destination guard, 1-renewal read replay on 401, typed
|
|
10
|
+
`ExitCode` / `CliError` hierarchy). Base package dependencies only (`attrs`, `httpx`, `python-dateutil`).
|
|
11
|
+
- `compose_api_client.auth` and `compose_api_client.profiles` (`compose-api-client[auth]`): Auth0 OAuth 2.0 / OIDC
|
|
12
|
+
client (browser PKCE and RFC 8628 device flow), OS-keychain `CredentialStore`, journaled `AuthSession` renewal and
|
|
13
|
+
revocation, and profile resolution (`BUILTIN_PROFILES`, `COMPOSE_API_CLI_*`, `config.toml`).
|
|
14
|
+
- `compose_api_client.cli` (`compose-api-client[cli]`): the `compose-api` command-line client.
|
|
15
|
+
- `compose_api_client.utils.run_simulation_and_wait`: the hand-written helper pbest uses (kept from 0.2.0).
|
|
16
|
+
|
|
17
|
+
Until 0.2.0 this package lived in [biosimulations/compose-api-client](https://github.com/biosimulations/compose-api-client);
|
|
18
|
+
it was brought here with its history. See [`docs/cli.md`](../../docs/cli.md) and [`docs/plan-cli.md`](../../docs/plan-cli.md).
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.current_principal_response import CurrentPrincipalResponse
|
|
9
|
+
from ...models.error_detail import ErrorDetail
|
|
10
|
+
from ...types import Response
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs() -> dict[str, Any]:
|
|
14
|
+
|
|
15
|
+
_kwargs: dict[str, Any] = {
|
|
16
|
+
"method": "get",
|
|
17
|
+
"url": "/auth/me",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return _kwargs
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def _parse_response(
|
|
24
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
25
|
+
) -> CurrentPrincipalResponse | ErrorDetail | None:
|
|
26
|
+
if response.status_code == 200:
|
|
27
|
+
response_200 = CurrentPrincipalResponse.from_dict(response.json())
|
|
28
|
+
|
|
29
|
+
return response_200
|
|
30
|
+
|
|
31
|
+
if response.status_code == 401:
|
|
32
|
+
response_401 = ErrorDetail.from_dict(response.json())
|
|
33
|
+
|
|
34
|
+
return response_401
|
|
35
|
+
|
|
36
|
+
if client.raise_on_unexpected_status:
|
|
37
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
38
|
+
else:
|
|
39
|
+
return None
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def _build_response(
|
|
43
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
44
|
+
) -> Response[CurrentPrincipalResponse | ErrorDetail]:
|
|
45
|
+
return Response(
|
|
46
|
+
status_code=HTTPStatus(response.status_code),
|
|
47
|
+
content=response.content,
|
|
48
|
+
headers=response.headers,
|
|
49
|
+
parsed=_parse_response(client=client, response=response),
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def sync_detailed(
|
|
54
|
+
*,
|
|
55
|
+
client: AuthenticatedClient,
|
|
56
|
+
) -> Response[CurrentPrincipalResponse | ErrorDetail]:
|
|
57
|
+
"""Get the authenticated caller's identity
|
|
58
|
+
|
|
59
|
+
Raises:
|
|
60
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
61
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
62
|
+
|
|
63
|
+
Returns:
|
|
64
|
+
Response[CurrentPrincipalResponse | ErrorDetail]
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
kwargs = _get_kwargs()
|
|
68
|
+
|
|
69
|
+
response = client.get_httpx_client().request(
|
|
70
|
+
**kwargs,
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
return _build_response(client=client, response=response)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def sync(
|
|
77
|
+
*,
|
|
78
|
+
client: AuthenticatedClient,
|
|
79
|
+
) -> CurrentPrincipalResponse | ErrorDetail | None:
|
|
80
|
+
"""Get the authenticated caller's identity
|
|
81
|
+
|
|
82
|
+
Raises:
|
|
83
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
84
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
85
|
+
|
|
86
|
+
Returns:
|
|
87
|
+
CurrentPrincipalResponse | ErrorDetail
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
return sync_detailed(
|
|
91
|
+
client=client,
|
|
92
|
+
).parsed
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
async def asyncio_detailed(
|
|
96
|
+
*,
|
|
97
|
+
client: AuthenticatedClient,
|
|
98
|
+
) -> Response[CurrentPrincipalResponse | ErrorDetail]:
|
|
99
|
+
"""Get the authenticated caller's identity
|
|
100
|
+
|
|
101
|
+
Raises:
|
|
102
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
103
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
104
|
+
|
|
105
|
+
Returns:
|
|
106
|
+
Response[CurrentPrincipalResponse | ErrorDetail]
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = _get_kwargs()
|
|
110
|
+
|
|
111
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
112
|
+
|
|
113
|
+
return _build_response(client=client, response=response)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
async def asyncio(
|
|
117
|
+
*,
|
|
118
|
+
client: AuthenticatedClient,
|
|
119
|
+
) -> CurrentPrincipalResponse | ErrorDetail | None:
|
|
120
|
+
"""Get the authenticated caller's identity
|
|
121
|
+
|
|
122
|
+
Raises:
|
|
123
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
124
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
125
|
+
|
|
126
|
+
Returns:
|
|
127
|
+
CurrentPrincipalResponse | ErrorDetail
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
return (
|
|
131
|
+
await asyncio_detailed(
|
|
132
|
+
client=client,
|
|
133
|
+
)
|
|
134
|
+
).parsed
|
{compose_api_client-0.7.6 → compose_api_client-0.7.72}/compose_api_client/api/curated/run_copasi.py
RENAMED
|
@@ -8,7 +8,8 @@ from ...client import AuthenticatedClient, Client
|
|
|
8
8
|
from ...models.body_run_copasi import BodyRunCopasi
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
10
|
from ...models.simulation_experiment import SimulationExperiment
|
|
11
|
-
from ...
|
|
11
|
+
from ...models.visibility import Visibility
|
|
12
|
+
from ...types import UNSET, Response, Unset
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
def _get_kwargs(
|
|
@@ -17,6 +18,7 @@ def _get_kwargs(
|
|
|
17
18
|
start_time: float,
|
|
18
19
|
duration: float,
|
|
19
20
|
num_data_points: float,
|
|
21
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
20
22
|
) -> dict[str, Any]:
|
|
21
23
|
headers: dict[str, Any] = {}
|
|
22
24
|
|
|
@@ -28,6 +30,15 @@ def _get_kwargs(
|
|
|
28
30
|
|
|
29
31
|
params["num_data_points"] = num_data_points
|
|
30
32
|
|
|
33
|
+
json_visibility: None | str | Unset
|
|
34
|
+
if isinstance(visibility, Unset):
|
|
35
|
+
json_visibility = UNSET
|
|
36
|
+
elif isinstance(visibility, Visibility):
|
|
37
|
+
json_visibility = visibility.value
|
|
38
|
+
else:
|
|
39
|
+
json_visibility = visibility
|
|
40
|
+
params["visibility"] = json_visibility
|
|
41
|
+
|
|
31
42
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
32
43
|
|
|
33
44
|
_kwargs: dict[str, Any] = {
|
|
@@ -81,6 +92,7 @@ def sync_detailed(
|
|
|
81
92
|
start_time: float,
|
|
82
93
|
duration: float,
|
|
83
94
|
num_data_points: float,
|
|
95
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
84
96
|
) -> Response[HTTPValidationError | SimulationExperiment]:
|
|
85
97
|
"""Use the tool copasi.
|
|
86
98
|
|
|
@@ -88,6 +100,9 @@ def sync_detailed(
|
|
|
88
100
|
start_time (float):
|
|
89
101
|
duration (float):
|
|
90
102
|
num_data_points (float):
|
|
103
|
+
visibility (None | Unset | Visibility): Who may read the run: `private` (the default when
|
|
104
|
+
signed in: you, and admins) or `public` (anyone). Anonymous runs are public; asking for
|
|
105
|
+
private needs signing in. The owner can change it later (PATCH /simulations/{id})
|
|
91
106
|
body (BodyRunCopasi):
|
|
92
107
|
|
|
93
108
|
Raises:
|
|
@@ -103,6 +118,7 @@ def sync_detailed(
|
|
|
103
118
|
start_time=start_time,
|
|
104
119
|
duration=duration,
|
|
105
120
|
num_data_points=num_data_points,
|
|
121
|
+
visibility=visibility,
|
|
106
122
|
)
|
|
107
123
|
|
|
108
124
|
response = client.get_httpx_client().request(
|
|
@@ -119,6 +135,7 @@ def sync(
|
|
|
119
135
|
start_time: float,
|
|
120
136
|
duration: float,
|
|
121
137
|
num_data_points: float,
|
|
138
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
122
139
|
) -> HTTPValidationError | SimulationExperiment | None:
|
|
123
140
|
"""Use the tool copasi.
|
|
124
141
|
|
|
@@ -126,6 +143,9 @@ def sync(
|
|
|
126
143
|
start_time (float):
|
|
127
144
|
duration (float):
|
|
128
145
|
num_data_points (float):
|
|
146
|
+
visibility (None | Unset | Visibility): Who may read the run: `private` (the default when
|
|
147
|
+
signed in: you, and admins) or `public` (anyone). Anonymous runs are public; asking for
|
|
148
|
+
private needs signing in. The owner can change it later (PATCH /simulations/{id})
|
|
129
149
|
body (BodyRunCopasi):
|
|
130
150
|
|
|
131
151
|
Raises:
|
|
@@ -142,6 +162,7 @@ def sync(
|
|
|
142
162
|
start_time=start_time,
|
|
143
163
|
duration=duration,
|
|
144
164
|
num_data_points=num_data_points,
|
|
165
|
+
visibility=visibility,
|
|
145
166
|
).parsed
|
|
146
167
|
|
|
147
168
|
|
|
@@ -152,6 +173,7 @@ async def asyncio_detailed(
|
|
|
152
173
|
start_time: float,
|
|
153
174
|
duration: float,
|
|
154
175
|
num_data_points: float,
|
|
176
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
155
177
|
) -> Response[HTTPValidationError | SimulationExperiment]:
|
|
156
178
|
"""Use the tool copasi.
|
|
157
179
|
|
|
@@ -159,6 +181,9 @@ async def asyncio_detailed(
|
|
|
159
181
|
start_time (float):
|
|
160
182
|
duration (float):
|
|
161
183
|
num_data_points (float):
|
|
184
|
+
visibility (None | Unset | Visibility): Who may read the run: `private` (the default when
|
|
185
|
+
signed in: you, and admins) or `public` (anyone). Anonymous runs are public; asking for
|
|
186
|
+
private needs signing in. The owner can change it later (PATCH /simulations/{id})
|
|
162
187
|
body (BodyRunCopasi):
|
|
163
188
|
|
|
164
189
|
Raises:
|
|
@@ -174,6 +199,7 @@ async def asyncio_detailed(
|
|
|
174
199
|
start_time=start_time,
|
|
175
200
|
duration=duration,
|
|
176
201
|
num_data_points=num_data_points,
|
|
202
|
+
visibility=visibility,
|
|
177
203
|
)
|
|
178
204
|
|
|
179
205
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -188,6 +214,7 @@ async def asyncio(
|
|
|
188
214
|
start_time: float,
|
|
189
215
|
duration: float,
|
|
190
216
|
num_data_points: float,
|
|
217
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
191
218
|
) -> HTTPValidationError | SimulationExperiment | None:
|
|
192
219
|
"""Use the tool copasi.
|
|
193
220
|
|
|
@@ -195,6 +222,9 @@ async def asyncio(
|
|
|
195
222
|
start_time (float):
|
|
196
223
|
duration (float):
|
|
197
224
|
num_data_points (float):
|
|
225
|
+
visibility (None | Unset | Visibility): Who may read the run: `private` (the default when
|
|
226
|
+
signed in: you, and admins) or `public` (anyone). Anonymous runs are public; asking for
|
|
227
|
+
private needs signing in. The owner can change it later (PATCH /simulations/{id})
|
|
198
228
|
body (BodyRunCopasi):
|
|
199
229
|
|
|
200
230
|
Raises:
|
|
@@ -212,5 +242,6 @@ async def asyncio(
|
|
|
212
242
|
start_time=start_time,
|
|
213
243
|
duration=duration,
|
|
214
244
|
num_data_points=num_data_points,
|
|
245
|
+
visibility=visibility,
|
|
215
246
|
)
|
|
216
247
|
).parsed
|
|
@@ -8,7 +8,8 @@ from ...client import AuthenticatedClient, Client
|
|
|
8
8
|
from ...models.body_run_tellurium import BodyRunTellurium
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
10
|
from ...models.simulation_experiment import SimulationExperiment
|
|
11
|
-
from ...
|
|
11
|
+
from ...models.visibility import Visibility
|
|
12
|
+
from ...types import UNSET, Response, Unset
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
def _get_kwargs(
|
|
@@ -17,6 +18,7 @@ def _get_kwargs(
|
|
|
17
18
|
start_time: float,
|
|
18
19
|
end_time: float,
|
|
19
20
|
num_data_points: float,
|
|
21
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
20
22
|
) -> dict[str, Any]:
|
|
21
23
|
headers: dict[str, Any] = {}
|
|
22
24
|
|
|
@@ -28,6 +30,15 @@ def _get_kwargs(
|
|
|
28
30
|
|
|
29
31
|
params["num_data_points"] = num_data_points
|
|
30
32
|
|
|
33
|
+
json_visibility: None | str | Unset
|
|
34
|
+
if isinstance(visibility, Unset):
|
|
35
|
+
json_visibility = UNSET
|
|
36
|
+
elif isinstance(visibility, Visibility):
|
|
37
|
+
json_visibility = visibility.value
|
|
38
|
+
else:
|
|
39
|
+
json_visibility = visibility
|
|
40
|
+
params["visibility"] = json_visibility
|
|
41
|
+
|
|
31
42
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
32
43
|
|
|
33
44
|
_kwargs: dict[str, Any] = {
|
|
@@ -81,6 +92,7 @@ def sync_detailed(
|
|
|
81
92
|
start_time: float,
|
|
82
93
|
end_time: float,
|
|
83
94
|
num_data_points: float,
|
|
95
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
84
96
|
) -> Response[HTTPValidationError | SimulationExperiment]:
|
|
85
97
|
"""Use the tool tellurium.
|
|
86
98
|
|
|
@@ -88,6 +100,9 @@ def sync_detailed(
|
|
|
88
100
|
start_time (float):
|
|
89
101
|
end_time (float):
|
|
90
102
|
num_data_points (float):
|
|
103
|
+
visibility (None | Unset | Visibility): Who may read the run: `private` (the default when
|
|
104
|
+
signed in: you, and admins) or `public` (anyone). Anonymous runs are public; asking for
|
|
105
|
+
private needs signing in. The owner can change it later (PATCH /simulations/{id})
|
|
91
106
|
body (BodyRunTellurium):
|
|
92
107
|
|
|
93
108
|
Raises:
|
|
@@ -103,6 +118,7 @@ def sync_detailed(
|
|
|
103
118
|
start_time=start_time,
|
|
104
119
|
end_time=end_time,
|
|
105
120
|
num_data_points=num_data_points,
|
|
121
|
+
visibility=visibility,
|
|
106
122
|
)
|
|
107
123
|
|
|
108
124
|
response = client.get_httpx_client().request(
|
|
@@ -119,6 +135,7 @@ def sync(
|
|
|
119
135
|
start_time: float,
|
|
120
136
|
end_time: float,
|
|
121
137
|
num_data_points: float,
|
|
138
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
122
139
|
) -> HTTPValidationError | SimulationExperiment | None:
|
|
123
140
|
"""Use the tool tellurium.
|
|
124
141
|
|
|
@@ -126,6 +143,9 @@ def sync(
|
|
|
126
143
|
start_time (float):
|
|
127
144
|
end_time (float):
|
|
128
145
|
num_data_points (float):
|
|
146
|
+
visibility (None | Unset | Visibility): Who may read the run: `private` (the default when
|
|
147
|
+
signed in: you, and admins) or `public` (anyone). Anonymous runs are public; asking for
|
|
148
|
+
private needs signing in. The owner can change it later (PATCH /simulations/{id})
|
|
129
149
|
body (BodyRunTellurium):
|
|
130
150
|
|
|
131
151
|
Raises:
|
|
@@ -142,6 +162,7 @@ def sync(
|
|
|
142
162
|
start_time=start_time,
|
|
143
163
|
end_time=end_time,
|
|
144
164
|
num_data_points=num_data_points,
|
|
165
|
+
visibility=visibility,
|
|
145
166
|
).parsed
|
|
146
167
|
|
|
147
168
|
|
|
@@ -152,6 +173,7 @@ async def asyncio_detailed(
|
|
|
152
173
|
start_time: float,
|
|
153
174
|
end_time: float,
|
|
154
175
|
num_data_points: float,
|
|
176
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
155
177
|
) -> Response[HTTPValidationError | SimulationExperiment]:
|
|
156
178
|
"""Use the tool tellurium.
|
|
157
179
|
|
|
@@ -159,6 +181,9 @@ async def asyncio_detailed(
|
|
|
159
181
|
start_time (float):
|
|
160
182
|
end_time (float):
|
|
161
183
|
num_data_points (float):
|
|
184
|
+
visibility (None | Unset | Visibility): Who may read the run: `private` (the default when
|
|
185
|
+
signed in: you, and admins) or `public` (anyone). Anonymous runs are public; asking for
|
|
186
|
+
private needs signing in. The owner can change it later (PATCH /simulations/{id})
|
|
162
187
|
body (BodyRunTellurium):
|
|
163
188
|
|
|
164
189
|
Raises:
|
|
@@ -174,6 +199,7 @@ async def asyncio_detailed(
|
|
|
174
199
|
start_time=start_time,
|
|
175
200
|
end_time=end_time,
|
|
176
201
|
num_data_points=num_data_points,
|
|
202
|
+
visibility=visibility,
|
|
177
203
|
)
|
|
178
204
|
|
|
179
205
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -188,6 +214,7 @@ async def asyncio(
|
|
|
188
214
|
start_time: float,
|
|
189
215
|
end_time: float,
|
|
190
216
|
num_data_points: float,
|
|
217
|
+
visibility: None | Unset | Visibility = UNSET,
|
|
191
218
|
) -> HTTPValidationError | SimulationExperiment | None:
|
|
192
219
|
"""Use the tool tellurium.
|
|
193
220
|
|
|
@@ -195,6 +222,9 @@ async def asyncio(
|
|
|
195
222
|
start_time (float):
|
|
196
223
|
end_time (float):
|
|
197
224
|
num_data_points (float):
|
|
225
|
+
visibility (None | Unset | Visibility): Who may read the run: `private` (the default when
|
|
226
|
+
signed in: you, and admins) or `public` (anyone). Anonymous runs are public; asking for
|
|
227
|
+
private needs signing in. The owner can change it later (PATCH /simulations/{id})
|
|
198
228
|
body (BodyRunTellurium):
|
|
199
229
|
|
|
200
230
|
Raises:
|
|
@@ -212,5 +242,6 @@ async def asyncio(
|
|
|
212
242
|
start_time=start_time,
|
|
213
243
|
end_time=end_time,
|
|
214
244
|
num_data_points=num_data_points,
|
|
245
|
+
visibility=visibility,
|
|
215
246
|
)
|
|
216
247
|
).parsed
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
from urllib.parse import quote
|
|
4
4
|
from uuid import UUID
|
|
5
5
|
|
|
@@ -8,6 +8,7 @@ import httpx
|
|
|
8
8
|
from ... import errors
|
|
9
9
|
from ...client import AuthenticatedClient, Client
|
|
10
10
|
from ...models.dataset import Dataset
|
|
11
|
+
from ...models.error_detail import ErrorDetail
|
|
11
12
|
from ...models.http_validation_error import HTTPValidationError
|
|
12
13
|
from ...types import Response
|
|
13
14
|
|
|
@@ -28,14 +29,15 @@ def _get_kwargs(
|
|
|
28
29
|
|
|
29
30
|
def _parse_response(
|
|
30
31
|
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
31
|
-
) ->
|
|
32
|
+
) -> Dataset | ErrorDetail | HTTPValidationError | None:
|
|
32
33
|
if response.status_code == 200:
|
|
33
34
|
response_200 = Dataset.from_dict(response.json())
|
|
34
35
|
|
|
35
36
|
return response_200
|
|
36
37
|
|
|
37
38
|
if response.status_code == 404:
|
|
38
|
-
response_404 =
|
|
39
|
+
response_404 = ErrorDetail.from_dict(response.json())
|
|
40
|
+
|
|
39
41
|
return response_404
|
|
40
42
|
|
|
41
43
|
if response.status_code == 422:
|
|
@@ -51,7 +53,7 @@ def _parse_response(
|
|
|
51
53
|
|
|
52
54
|
def _build_response(
|
|
53
55
|
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
54
|
-
) -> Response[
|
|
56
|
+
) -> Response[Dataset | ErrorDetail | HTTPValidationError]:
|
|
55
57
|
return Response(
|
|
56
58
|
status_code=HTTPStatus(response.status_code),
|
|
57
59
|
content=response.content,
|
|
@@ -64,7 +66,7 @@ def sync_detailed(
|
|
|
64
66
|
dataset_id: UUID,
|
|
65
67
|
*,
|
|
66
68
|
client: AuthenticatedClient | Client,
|
|
67
|
-
) -> Response[
|
|
69
|
+
) -> Response[Dataset | ErrorDetail | HTTPValidationError]:
|
|
68
70
|
"""Describe one dataset
|
|
69
71
|
|
|
70
72
|
Args:
|
|
@@ -75,7 +77,7 @@ def sync_detailed(
|
|
|
75
77
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
76
78
|
|
|
77
79
|
Returns:
|
|
78
|
-
Response[
|
|
80
|
+
Response[Dataset | ErrorDetail | HTTPValidationError]
|
|
79
81
|
"""
|
|
80
82
|
|
|
81
83
|
kwargs = _get_kwargs(
|
|
@@ -93,7 +95,7 @@ def sync(
|
|
|
93
95
|
dataset_id: UUID,
|
|
94
96
|
*,
|
|
95
97
|
client: AuthenticatedClient | Client,
|
|
96
|
-
) ->
|
|
98
|
+
) -> Dataset | ErrorDetail | HTTPValidationError | None:
|
|
97
99
|
"""Describe one dataset
|
|
98
100
|
|
|
99
101
|
Args:
|
|
@@ -104,7 +106,7 @@ def sync(
|
|
|
104
106
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
105
107
|
|
|
106
108
|
Returns:
|
|
107
|
-
|
|
109
|
+
Dataset | ErrorDetail | HTTPValidationError
|
|
108
110
|
"""
|
|
109
111
|
|
|
110
112
|
return sync_detailed(
|
|
@@ -117,7 +119,7 @@ async def asyncio_detailed(
|
|
|
117
119
|
dataset_id: UUID,
|
|
118
120
|
*,
|
|
119
121
|
client: AuthenticatedClient | Client,
|
|
120
|
-
) -> Response[
|
|
122
|
+
) -> Response[Dataset | ErrorDetail | HTTPValidationError]:
|
|
121
123
|
"""Describe one dataset
|
|
122
124
|
|
|
123
125
|
Args:
|
|
@@ -128,7 +130,7 @@ async def asyncio_detailed(
|
|
|
128
130
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
129
131
|
|
|
130
132
|
Returns:
|
|
131
|
-
Response[
|
|
133
|
+
Response[Dataset | ErrorDetail | HTTPValidationError]
|
|
132
134
|
"""
|
|
133
135
|
|
|
134
136
|
kwargs = _get_kwargs(
|
|
@@ -144,7 +146,7 @@ async def asyncio(
|
|
|
144
146
|
dataset_id: UUID,
|
|
145
147
|
*,
|
|
146
148
|
client: AuthenticatedClient | Client,
|
|
147
|
-
) ->
|
|
149
|
+
) -> Dataset | ErrorDetail | HTTPValidationError | None:
|
|
148
150
|
"""Describe one dataset
|
|
149
151
|
|
|
150
152
|
Args:
|
|
@@ -155,7 +157,7 @@ async def asyncio(
|
|
|
155
157
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
156
158
|
|
|
157
159
|
Returns:
|
|
158
|
-
|
|
160
|
+
Dataset | ErrorDetail | HTTPValidationError
|
|
159
161
|
"""
|
|
160
162
|
|
|
161
163
|
return (
|