superdoc-sdk 2.28.0__tar.gz → 2.29.0__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.
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/PKG-INFO +6 -6
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/pyproject.toml +6 -6
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/generated/client.py +111 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/generated/contract.py +1 -1
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/generation-receipt.json +15 -15
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/tools-policy.json +1 -1
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc_sdk.egg-info/PKG-INFO +6 -6
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc_sdk.egg-info/requires.txt +5 -5
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/setup.cfg +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/__init__.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/_whitespace.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/client.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/embedded_cli.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/embedded_platform.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/errors.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/generated/__init__.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/helpers/__init__.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/helpers/format.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/introspection.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/notifications.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/presets/__init__.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/presets/core.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/presets/custom.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/presets/full.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/presets/legacy.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/protocol.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/runtime.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/sdk_policy.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/skill_api.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/skills/__init__.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/skills/editing-docx.md +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/test_parity_helper.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/catalog.json +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/intent_dispatch_generated.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/system-prompt-mcp.md +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/system-prompt.md +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/tools.anthropic.json +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/tools.generic.json +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/tools.openai.json +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools/tools.vercel.json +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/tools_api.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc/transport.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc_sdk.egg-info/SOURCES.txt +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc_sdk.egg-info/dependency_links.txt +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/superdoc_sdk.egg-info/top_level.txt +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_client_method_naming.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_core_dispatch_options.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_custom_actions.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_custom_actions_async.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_custom_actions_toolkit.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_embedded_platform.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_full_dispatch_options.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_full_revision_parity.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_helpers_reexports.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_local_introspection.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_notifications.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_per_open_collaboration_auth.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_presets.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_protocol.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_smoke_core_preset.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_transport.py +0 -0
- {superdoc_sdk-2.28.0 → superdoc_sdk-2.29.0}/tests/test_whitespace_boundaries.py +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: superdoc-sdk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.29.0
|
|
4
4
|
Summary: Python SDK for SuperDoc, to read and edit .docx files from Python.
|
|
5
5
|
Author: SuperDoc
|
|
6
6
|
License-Expression: AGPL-3.0
|
|
7
7
|
Requires-Python: >=3.9
|
|
8
|
-
Requires-Dist: superdoc-sdk-cli-darwin-arm64==2.
|
|
9
|
-
Requires-Dist: superdoc-sdk-cli-darwin-x64==2.
|
|
10
|
-
Requires-Dist: superdoc-sdk-cli-linux-x64==2.
|
|
11
|
-
Requires-Dist: superdoc-sdk-cli-linux-arm64==2.
|
|
12
|
-
Requires-Dist: superdoc-sdk-cli-windows-x64==2.
|
|
8
|
+
Requires-Dist: superdoc-sdk-cli-darwin-arm64==2.29.0; platform_system == "Darwin" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
|
|
9
|
+
Requires-Dist: superdoc-sdk-cli-darwin-x64==2.29.0; platform_system == "Darwin" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
10
|
+
Requires-Dist: superdoc-sdk-cli-linux-x64==2.29.0; platform_system == "Linux" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
11
|
+
Requires-Dist: superdoc-sdk-cli-linux-arm64==2.29.0; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
|
|
12
|
+
Requires-Dist: superdoc-sdk-cli-windows-x64==2.29.0; platform_system == "Windows" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
@@ -4,17 +4,17 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "superdoc-sdk"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.29.0"
|
|
8
8
|
description = "Python SDK for SuperDoc, to read and edit .docx files from Python."
|
|
9
9
|
requires-python = ">=3.9"
|
|
10
10
|
license = "AGPL-3.0"
|
|
11
11
|
authors = [{ name = "SuperDoc" }]
|
|
12
12
|
dependencies = [
|
|
13
|
-
"superdoc-sdk-cli-darwin-arm64==2.
|
|
14
|
-
"superdoc-sdk-cli-darwin-x64==2.
|
|
15
|
-
"superdoc-sdk-cli-linux-x64==2.
|
|
16
|
-
"superdoc-sdk-cli-linux-arm64==2.
|
|
17
|
-
"superdoc-sdk-cli-windows-x64==2.
|
|
13
|
+
"superdoc-sdk-cli-darwin-arm64==2.29.0; platform_system == 'Darwin' and (platform_machine == 'arm64' or platform_machine == 'aarch64' or platform_machine == 'ARM64')",
|
|
14
|
+
"superdoc-sdk-cli-darwin-x64==2.29.0; platform_system == 'Darwin' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
15
|
+
"superdoc-sdk-cli-linux-x64==2.29.0; platform_system == 'Linux' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
16
|
+
"superdoc-sdk-cli-linux-arm64==2.29.0; platform_system == 'Linux' and (platform_machine == 'arm64' or platform_machine == 'aarch64' or platform_machine == 'ARM64')",
|
|
17
|
+
"superdoc-sdk-cli-windows-x64==2.29.0; platform_system == 'Windows' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
20
|
[tool.uv.sources]
|
|
@@ -184174,6 +184174,30 @@ DocSessionSetDefaultResult = TypedDict(
|
|
|
184174
184174
|
},
|
|
184175
184175
|
)
|
|
184176
184176
|
|
|
184177
|
+
DocPresenceSetResultPresenceSelectionVariant1 = TypedDict(
|
|
184178
|
+
"DocPresenceSetResultPresenceSelectionVariant1",
|
|
184179
|
+
{
|
|
184180
|
+
"blockId": str,
|
|
184181
|
+
"start": Union[int, float],
|
|
184182
|
+
"end": Union[int, float],
|
|
184183
|
+
},
|
|
184184
|
+
total=False,
|
|
184185
|
+
)
|
|
184186
|
+
|
|
184187
|
+
DocPresenceSetResultPresence = TypedDict(
|
|
184188
|
+
"DocPresenceSetResultPresence",
|
|
184189
|
+
{
|
|
184190
|
+
"selection": Union[DocPresenceSetResultPresenceSelectionVariant1, None],
|
|
184191
|
+
},
|
|
184192
|
+
)
|
|
184193
|
+
|
|
184194
|
+
DocPresenceSetResult = TypedDict(
|
|
184195
|
+
"DocPresenceSetResult",
|
|
184196
|
+
{
|
|
184197
|
+
"presence": DocPresenceSetResultPresence,
|
|
184198
|
+
},
|
|
184199
|
+
)
|
|
184200
|
+
|
|
184177
184201
|
DocPresetListResult = TypedDict(
|
|
184178
184202
|
"DocPresetListResult",
|
|
184179
184203
|
{
|
|
@@ -216893,6 +216917,17 @@ class DocMetadataResolveParams(_DocMetadataResolveParamsRequiredFields, _DocMeta
|
|
|
216893
216917
|
|
|
216894
216918
|
DocOpenParamsCollaborationVariant1Params = dict[str, str]
|
|
216895
216919
|
|
|
216920
|
+
DocOpenParamsCollaborationVariant1PresenceVariant2 = TypedDict(
|
|
216921
|
+
"DocOpenParamsCollaborationVariant1PresenceVariant2",
|
|
216922
|
+
{
|
|
216923
|
+
"name": str,
|
|
216924
|
+
"color": str,
|
|
216925
|
+
"userId": str,
|
|
216926
|
+
"followEdits": bool,
|
|
216927
|
+
},
|
|
216928
|
+
total=False,
|
|
216929
|
+
)
|
|
216930
|
+
|
|
216896
216931
|
_DocOpenParamsCollaborationVariant1RequiredFields = TypedDict(
|
|
216897
216932
|
"_DocOpenParamsCollaborationVariant1RequiredFields",
|
|
216898
216933
|
{
|
|
@@ -216911,6 +216946,7 @@ _DocOpenParamsCollaborationVariant1OptionalFields = TypedDict(
|
|
|
216911
216946
|
"syncTimeoutMs": Union[int, float],
|
|
216912
216947
|
"roomMode": Union[Literal["join"], Literal["create"]],
|
|
216913
216948
|
"bootstrapSettlingMs": Union[int, float],
|
|
216949
|
+
"presence": Union[bool, DocOpenParamsCollaborationVariant1PresenceVariant2],
|
|
216914
216950
|
"expectedRevisionScope": Union[Literal["session"], Literal["room"]],
|
|
216915
216951
|
},
|
|
216916
216952
|
total=False,
|
|
@@ -216919,6 +216955,8 @@ _DocOpenParamsCollaborationVariant1OptionalFields = TypedDict(
|
|
|
216919
216955
|
class DocOpenParamsCollaborationVariant1(_DocOpenParamsCollaborationVariant1RequiredFields, _DocOpenParamsCollaborationVariant1OptionalFields):
|
|
216920
216956
|
pass
|
|
216921
216957
|
|
|
216958
|
+
DocOpenParamsCollaborationVariant2PresenceVariant2 = DocOpenParamsCollaborationVariant1PresenceVariant2
|
|
216959
|
+
|
|
216922
216960
|
_DocOpenParamsCollaborationVariant2RequiredFields = TypedDict(
|
|
216923
216961
|
"_DocOpenParamsCollaborationVariant2RequiredFields",
|
|
216924
216962
|
{
|
|
@@ -216934,6 +216972,7 @@ _DocOpenParamsCollaborationVariant2OptionalFields = TypedDict(
|
|
|
216934
216972
|
"syncTimeoutMs": Union[int, float],
|
|
216935
216973
|
"roomMode": Union[Literal["join"], Literal["create"]],
|
|
216936
216974
|
"bootstrapSettlingMs": Union[int, float],
|
|
216975
|
+
"presence": Union[bool, DocOpenParamsCollaborationVariant2PresenceVariant2],
|
|
216937
216976
|
},
|
|
216938
216977
|
total=False,
|
|
216939
216978
|
)
|
|
@@ -216941,6 +216980,8 @@ _DocOpenParamsCollaborationVariant2OptionalFields = TypedDict(
|
|
|
216941
216980
|
class DocOpenParamsCollaborationVariant2(_DocOpenParamsCollaborationVariant2RequiredFields, _DocOpenParamsCollaborationVariant2OptionalFields):
|
|
216942
216981
|
pass
|
|
216943
216982
|
|
|
216983
|
+
DocOpenParamsCollaborationVariant3PresenceVariant2 = DocOpenParamsCollaborationVariant1PresenceVariant2
|
|
216984
|
+
|
|
216944
216985
|
_DocOpenParamsCollaborationVariant3RequiredFields = TypedDict(
|
|
216945
216986
|
"_DocOpenParamsCollaborationVariant3RequiredFields",
|
|
216946
216987
|
{
|
|
@@ -216957,6 +216998,7 @@ _DocOpenParamsCollaborationVariant3OptionalFields = TypedDict(
|
|
|
216957
216998
|
"syncTimeoutMs": Union[int, float],
|
|
216958
216999
|
"roomMode": Union[Literal["join"], Literal["create"]],
|
|
216959
217000
|
"bootstrapSettlingMs": Union[int, float],
|
|
217001
|
+
"presence": Union[bool, DocOpenParamsCollaborationVariant3PresenceVariant2],
|
|
216960
217002
|
},
|
|
216961
217003
|
total=False,
|
|
216962
217004
|
)
|
|
@@ -217146,6 +217188,19 @@ DocSessionSetDefaultParams = TypedDict(
|
|
|
217146
217188
|
},
|
|
217147
217189
|
)
|
|
217148
217190
|
|
|
217191
|
+
DocPresenceSetParams = TypedDict(
|
|
217192
|
+
"DocPresenceSetParams",
|
|
217193
|
+
{
|
|
217194
|
+
"sessionId": str,
|
|
217195
|
+
"blockId": str,
|
|
217196
|
+
"start": Union[int, float],
|
|
217197
|
+
"end": Union[int, float],
|
|
217198
|
+
"offset": Union[int, float],
|
|
217199
|
+
"clear": bool,
|
|
217200
|
+
},
|
|
217201
|
+
total=False,
|
|
217202
|
+
)
|
|
217203
|
+
|
|
217149
217204
|
DocPresetListParams = dict[str, Any]
|
|
217150
217205
|
|
|
217151
217206
|
DocPresetGetCatalogParams = TypedDict(
|
|
@@ -245735,6 +245790,18 @@ DocExecuteCodeBoundParams = TypedDict(
|
|
|
245735
245790
|
total=False,
|
|
245736
245791
|
)
|
|
245737
245792
|
|
|
245793
|
+
DocPresenceSetBoundParams = TypedDict(
|
|
245794
|
+
"DocPresenceSetBoundParams",
|
|
245795
|
+
{
|
|
245796
|
+
"blockId": str,
|
|
245797
|
+
"start": Union[int, float],
|
|
245798
|
+
"end": Union[int, float],
|
|
245799
|
+
"offset": Union[int, float],
|
|
245800
|
+
"clear": bool,
|
|
245801
|
+
},
|
|
245802
|
+
total=False,
|
|
245803
|
+
)
|
|
245804
|
+
|
|
245738
245805
|
DocPresetListBoundParams = dict[str, Any]
|
|
245739
245806
|
|
|
245740
245807
|
DocPresetGetCatalogBoundParams = TypedDict(
|
|
@@ -246144,6 +246211,10 @@ class _SyncDocApi:
|
|
|
246144
246211
|
def session(self):
|
|
246145
246212
|
return _SyncDocSessionApi(self._runtime)
|
|
246146
246213
|
|
|
246214
|
+
@property
|
|
246215
|
+
def presence(self):
|
|
246216
|
+
return _SyncDocPresenceApi(self._runtime)
|
|
246217
|
+
|
|
246147
246218
|
@property
|
|
246148
246219
|
def preset(self):
|
|
246149
246220
|
return _SyncDocPresetApi(self._runtime)
|
|
@@ -248830,6 +248901,13 @@ class _SyncDocSessionApi:
|
|
|
248830
248901
|
def setDefault(self, params: DocSessionSetDefaultParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionSetDefaultResult:
|
|
248831
248902
|
return self.set_default(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
248832
248903
|
|
|
248904
|
+
class _SyncDocPresenceApi:
|
|
248905
|
+
def __init__(self, runtime):
|
|
248906
|
+
self._runtime = runtime
|
|
248907
|
+
|
|
248908
|
+
def set(self, params: DocPresenceSetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocPresenceSetResult:
|
|
248909
|
+
return self._runtime.invoke("doc.presence.set", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
248910
|
+
|
|
248833
248911
|
class _SyncDocPresetApi:
|
|
248834
248912
|
def __init__(self, runtime):
|
|
248835
248913
|
self._runtime = runtime
|
|
@@ -249193,6 +249271,10 @@ class _AsyncDocApi:
|
|
|
249193
249271
|
def session(self):
|
|
249194
249272
|
return _AsyncDocSessionApi(self._runtime)
|
|
249195
249273
|
|
|
249274
|
+
@property
|
|
249275
|
+
def presence(self):
|
|
249276
|
+
return _AsyncDocPresenceApi(self._runtime)
|
|
249277
|
+
|
|
249196
249278
|
@property
|
|
249197
249279
|
def preset(self):
|
|
249198
249280
|
return _AsyncDocPresetApi(self._runtime)
|
|
@@ -251879,6 +251961,13 @@ class _AsyncDocSessionApi:
|
|
|
251879
251961
|
async def setDefault(self, params: DocSessionSetDefaultParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocSessionSetDefaultResult:
|
|
251880
251962
|
return await self.set_default(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
251881
251963
|
|
|
251964
|
+
class _AsyncDocPresenceApi:
|
|
251965
|
+
def __init__(self, runtime):
|
|
251966
|
+
self._runtime = runtime
|
|
251967
|
+
|
|
251968
|
+
async def set(self, params: DocPresenceSetParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocPresenceSetResult:
|
|
251969
|
+
return await self._runtime.invoke("doc.presence.set", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
251970
|
+
|
|
251882
251971
|
class _AsyncDocPresetApi:
|
|
251883
251972
|
def __init__(self, runtime):
|
|
251884
251973
|
self._runtime = runtime
|
|
@@ -252224,6 +252313,10 @@ class _SyncBoundDocApi:
|
|
|
252224
252313
|
def executeCode(self, params: DocExecuteCodeBoundParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocExecuteCodeResult:
|
|
252225
252314
|
return self.execute_code(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
252226
252315
|
|
|
252316
|
+
@property
|
|
252317
|
+
def presence(self):
|
|
252318
|
+
return _SyncBoundDocPresenceApi(self._runtime)
|
|
252319
|
+
|
|
252227
252320
|
@property
|
|
252228
252321
|
def preset(self):
|
|
252229
252322
|
return _SyncBoundDocPresetApi(self._runtime)
|
|
@@ -254891,6 +254984,13 @@ class _SyncBoundDocMetadataApi:
|
|
|
254891
254984
|
raw = self._runtime.invoke("doc.metadata.resolve", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
254892
254985
|
return _unwrap_envelope(raw, "result")
|
|
254893
254986
|
|
|
254987
|
+
class _SyncBoundDocPresenceApi:
|
|
254988
|
+
def __init__(self, runtime):
|
|
254989
|
+
self._runtime = runtime
|
|
254990
|
+
|
|
254991
|
+
def set(self, params: DocPresenceSetBoundParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocPresenceSetResult:
|
|
254992
|
+
return self._runtime.invoke("doc.presence.set", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
254993
|
+
|
|
254894
254994
|
class _SyncBoundDocPresetApi:
|
|
254895
254995
|
def __init__(self, runtime):
|
|
254896
254996
|
self._runtime = runtime
|
|
@@ -255232,6 +255332,10 @@ class _AsyncBoundDocApi:
|
|
|
255232
255332
|
async def executeCode(self, params: DocExecuteCodeBoundParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocExecuteCodeResult:
|
|
255233
255333
|
return await self.execute_code(params, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
255234
255334
|
|
|
255335
|
+
@property
|
|
255336
|
+
def presence(self):
|
|
255337
|
+
return _AsyncBoundDocPresenceApi(self._runtime)
|
|
255338
|
+
|
|
255235
255339
|
@property
|
|
255236
255340
|
def preset(self):
|
|
255237
255341
|
return _AsyncBoundDocPresetApi(self._runtime)
|
|
@@ -257899,6 +258003,13 @@ class _AsyncBoundDocMetadataApi:
|
|
|
257899
258003
|
raw = await self._runtime.invoke("doc.metadata.resolve", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
257900
258004
|
return _unwrap_envelope(raw, "result")
|
|
257901
258005
|
|
|
258006
|
+
class _AsyncBoundDocPresenceApi:
|
|
258007
|
+
def __init__(self, runtime):
|
|
258008
|
+
self._runtime = runtime
|
|
258009
|
+
|
|
258010
|
+
async def set(self, params: DocPresenceSetBoundParams | None = None, *, timeout_ms=None, stdin_bytes=None) -> DocPresenceSetResult:
|
|
258011
|
+
return await self._runtime.invoke("doc.presence.set", params or {}, timeout_ms=timeout_ms, stdin_bytes=stdin_bytes)
|
|
258012
|
+
|
|
257902
258013
|
class _AsyncBoundDocPresetApi:
|
|
257903
258014
|
def __init__(self, runtime):
|
|
257904
258015
|
self._runtime = runtime
|