Skip to content

Commit 1a4a1d1

Browse files
committed
Regenerate client with openapi-python-client 0.29.0
Pulls in the pending dependabot bumps (openapi-python-client 0.29.0, ruff 0.15.18, ty 0.0.50, pytest 9.1.0, pytest-asyncio 1.4.0, actions/checkout 6.0.3, ruff-pre-commit v0.15.15) and regenerates the client against them. - 0.29.0 parses timestamps via stdlib datetime.fromisoformat instead of dateutil.parser.isoparse, so drop the now-unused python-dateutil runtime dependency. - 0.29.0 emits bare 'return value' (not cast(Enum, value)) in the generated enum check_* helpers, which ty 0.0.50 flags as invalid-return-type since it can't narrow str to the Literal through the 'value in <set>' guard. Ignore that rule for ionq_core/models/** (the only place those helpers live; api/** return types stay checked), mirroring the existing invalid-argument-type override for generated code.
1 parent db70aeb commit 1a4a1d1

42 files changed

Lines changed: 76 additions & 99 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
1818
### Changed
1919

2020
- `NativeCircuitInput.qubits` and `JsonMultiCircuitInput.qubits` are now `int | Unset` (previously `float | Unset`), matching upstream's tightening to `format: int32, minimum: 1`. `QisCircuitInput.qubits` already had this type locally via the OpenAPI overlay; that overlay action has been removed now that upstream is correct natively.
21+
- Regenerated with `openapi-python-client` 0.29.0. Generated models now parse timestamps with the standard library (`datetime.fromisoformat`) instead of `dateutil.parser.isoparse`.
2122

2223
### Removed
2324

2425
- `get_compiled_file` endpoint (`GET /jobs/{UUID}/circuits/{lang}`) and its `GetCompiledFileLang` enum, removed upstream in favor of `get_job_artifact`. Compiled circuits are now fetched as artifacts by id rather than by `lang` (`"native"` / `"qasm3"`).
2526
- `CostModel` model, replaced by `ApiCostModel`.
27+
- The `python-dateutil` runtime dependency, no longer needed now that generated code uses `datetime.fromisoformat`.
2628

2729
## [0.1.1] - 2026-04-30
2830

ionq_core/api/default/cancel_jobs.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ionq_core/api/default/clone_job.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ionq_core/api/default/create_job.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ionq_core/api/default/create_session.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ionq_core/api/default/delete_jobs.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ionq_core/api/usage/get_usages.py

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ionq_core/models/api_cost_model.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ionq_core/models/circuit_job_creation_payload_type.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ionq_core/models/failure_code.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)