Skip to content

Commit 0f82f29

Browse files
committed
update python bindings
1 parent 58f5beb commit 0f82f29

File tree

2 files changed

+15
-45
lines changed

2 files changed

+15
-45
lines changed

crates/python/qcs_sdk/grpc/models/translation.pyi

-45
This file was deleted.

crates/python/qcs_sdk/qpu/translation.pyi

+15
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,18 @@ async def translate_async(
128128
:raises TranslationError: If the `native_quil` program could not be translated.
129129
"""
130130
...
131+
132+
class TranslationOptions:
133+
"""
134+
Options for translating via the QCS API.
135+
"""
136+
137+
def use_backend_v1(self) -> None:
138+
"""
139+
Use the v1 backend for translation, available on QCS since 2018.
140+
"""
141+
142+
def use_backend_v2(self) -> None:
143+
"""
144+
Use the v2 backend for translation, available on QCS since 2023.
145+
"""

0 commit comments

Comments
 (0)