anaplan-sdk 0.4.2__tar.gz → 0.4.3__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.
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/PKG-INFO +1 -1
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/_bulk.py +2 -2
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/async/async_alm_client.md +6 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/async/async_audit_client.md +6 -0
- anaplan_sdk-0.4.3/docs/api/async/async_client.md +9 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/async/async_cw_client.md +6 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/async/async_flows_client.md +6 -0
- anaplan_sdk-0.4.3/docs/api/async/async_transactional_client.md +11 -0
- anaplan_sdk-0.4.3/docs/api/exceptions.md +9 -0
- anaplan_sdk-0.4.3/docs/api/models/alm.md +7 -0
- anaplan_sdk-0.4.3/docs/api/models/bulk.md +7 -0
- anaplan_sdk-0.4.3/docs/api/models/cloud_works.md +7 -0
- anaplan_sdk-0.4.3/docs/api/models/flows.md +7 -0
- anaplan_sdk-0.4.3/docs/api/models/transactional.md +7 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_alm_client.md +6 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_audit_client.md +6 -0
- anaplan_sdk-0.4.3/docs/api/sync/sync_client.md +9 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_cw_client.md +6 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_flows_client.md +6 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_transactional_client.md +6 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/index.md +1 -1
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/quickstart.md +3 -3
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/mkdocs.yml +8 -2
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/pyproject.toml +1 -1
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/uv.lock +511 -511
- anaplan_sdk-0.4.2/docs/api/async/async_client.md +0 -1
- anaplan_sdk-0.4.2/docs/api/async/async_transactional_client.md +0 -5
- anaplan_sdk-0.4.2/docs/api/exceptions.md +0 -4
- anaplan_sdk-0.4.2/docs/api/models.md +0 -4
- anaplan_sdk-0.4.2/docs/api/sync/sync_client.md +0 -1
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.github/dependabot.yml +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.github/workflows/docs.yml +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.github/workflows/lint.yml +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.github/workflows/tests.yml +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.gitignore +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.pre-commit-config.yaml +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/LICENSE +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/README.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/__init__.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/__init__.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_alm.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_audit.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_bulk.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_cloud_works.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_cw_flow.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_transactional.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_auth.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_base.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/__init__.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_alm.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_audit.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_bulk.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_cloud_works.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_cw_flow.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_transactional.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/exceptions.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/__init__.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/_alm.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/_base.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/_transactional.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/cloud_works.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/flows.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/anaplan_explained.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/assets/overview.html +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/css/styles.css +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/alm.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/audit.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/authentication.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/bulk.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/bulk_vs_transactional.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/cloud_works.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/logging.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/multiple_models.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/transactional.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/img/anaplan-sdk.webp +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/index.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/installation.md +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/assets/hljs.js +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/assets/hljs.min.js +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/assets/python.js +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/assets/python.min.js +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/highlight.js +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/highlight.min.js +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/conftest.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_alm_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_audit_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_cloud_works_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_flows_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_transactional_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/conftest.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/conftest.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_alm_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_audit_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_cloud_works_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_flows_client.py +0 -0
- {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_transactional_client.py +0 -0
@@ -145,10 +145,10 @@ class TaskSummary(AnaplanModel):
|
|
145
145
|
|
146
146
|
|
147
147
|
class TaskResultDetail(AnaplanModel):
|
148
|
-
local_message_text: str = Field(description="Error message text.")
|
148
|
+
local_message_text: str | None = Field(None, description="Error message text.")
|
149
149
|
occurrences: int = Field(0, description="The number of occurrences of this error.")
|
150
150
|
type: str = Field(description="The type of this error.")
|
151
|
-
values: list[str] = Field([], description="Further error information if available.")
|
151
|
+
values: list[str | None] = Field([], description="Further error information if available.")
|
152
152
|
|
153
153
|
|
154
154
|
class TaskResult(AnaplanModel):
|
@@ -3,3 +3,9 @@
|
|
3
3
|
instance of [AsyncClient](async_client.md). For more details, see the [Guide](../../guides/cloud_works.md).
|
4
4
|
|
5
5
|
::: anaplan_sdk._async_clients._AsyncCloudWorksClient
|
6
|
+
|
7
|
+
<style>
|
8
|
+
[data-md-component="toc"] li:first-of-type{
|
9
|
+
display: none!important;
|
10
|
+
}
|
11
|
+
</style>
|
@@ -3,3 +3,9 @@
|
|
3
3
|
instance of [AsyncClient](async_client.md). For more details, see the [Guide](../../guides/cloud_works.md).
|
4
4
|
|
5
5
|
::: anaplan_sdk._async_clients._cw_flow._AsyncFlowClient
|
6
|
+
|
7
|
+
<style>
|
8
|
+
[data-md-component="toc"] li:first-of-type{
|
9
|
+
display: none!important;
|
10
|
+
}
|
11
|
+
</style>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
???+ note
|
2
|
+
This Class is not meant to be instantiated directly, but rather accessed through the `transactional` Property on an
|
3
|
+
instance of [AsyncClient](async_client.md). For more details, see the [Guide](../../guides/transactional.md).
|
4
|
+
|
5
|
+
::: anaplan_sdk._async_clients._AsyncTransactionalClient
|
6
|
+
|
7
|
+
<style>
|
8
|
+
[data-md-component="toc"] li:first-of-type{
|
9
|
+
display: none!important;
|
10
|
+
}
|
11
|
+
</style>
|
@@ -3,3 +3,9 @@
|
|
3
3
|
instance of [Client](sync_client.md). For more details, see the [Guide](../../guides/cloud_works.md).
|
4
4
|
|
5
5
|
::: anaplan_sdk._async_clients._cw_flow._AsyncFlowClient
|
6
|
+
|
7
|
+
<style>
|
8
|
+
[data-md-component="toc"] li:first-of-type{
|
9
|
+
display: none!important;
|
10
|
+
}
|
11
|
+
</style>
|
@@ -16,6 +16,6 @@ respective Guides to get started with each API.
|
|
16
16
|
- [__CloudWorks API__](cloud_works.md) for orchestrating and automating your Anaplan processes
|
17
17
|
- [__ALM API__](alm.md) for managing your Anaplan assets and their lifecycle
|
18
18
|
- [__Audit API__](audit.md) for tracking changes and maintaining compliance
|
19
|
-
-
|
19
|
+
- [__Auth APIs__](authentication.md) are used internally by the SDK to automatically manage authentication.
|
20
20
|
|
21
21
|
</div>
|
@@ -56,7 +56,7 @@ common practice.
|
|
56
56
|
files, processes = await gather(anaplan.list_files(), anaplan.list_processes())
|
57
57
|
```
|
58
58
|
??? info "Output"
|
59
|
-
Models used in this Example: [File](api/models.md#anaplan_sdk.models.File), [Process](api/models.md#anaplan_sdk.models.Process).
|
59
|
+
Models used in this Example: [File](api/models/bulk.md#anaplan_sdk.models._bulk.File), [Process](api/models/bulk.md#anaplan_sdk.models._bulk.Process).
|
60
60
|
```python
|
61
61
|
[
|
62
62
|
File(
|
@@ -90,7 +90,7 @@ With these two, you're ready to run your first import.
|
|
90
90
|
)
|
91
91
|
```
|
92
92
|
|
93
|
-
This will upload the file to Anaplan, trigger the process task, wait for the completion of the task and validate the task result. You can see the details of the task by inspecting the [TaskResult](api/models.md#anaplan_sdk.models.TaskResult).
|
93
|
+
This will upload the file to Anaplan, trigger the process task, wait for the completion of the task and validate the task result. You can see the details of the task by inspecting the [TaskResult](api/models/bulk.md#anaplan_sdk.models._bulk.TaskResult).
|
94
94
|
|
95
95
|
## Exporting Data
|
96
96
|
|
@@ -105,7 +105,7 @@ Conversely, for exporting data, we start by listing the available exports.
|
|
105
105
|
exports = await anaplan.list_exports()
|
106
106
|
```
|
107
107
|
??? info "Output"
|
108
|
-
Models used in this Example: [Export](api/models.md#anaplan_sdk.models.Export).
|
108
|
+
Models used in this Example: [Export](api/models/bulk.md#anaplan_sdk.models._bulk.Export).
|
109
109
|
```python
|
110
110
|
[
|
111
111
|
Export(
|
@@ -1,5 +1,5 @@
|
|
1
1
|
site_name: Anaplan SDK
|
2
|
-
site_description:
|
2
|
+
site_description: Streamlined Python Interface for Anaplan
|
3
3
|
site_url: https://vinzenzklass.github.io/anaplan-sdk/
|
4
4
|
repo_name: VinzenzKlass/anaplan-sdk
|
5
5
|
repo_url: https://github.com/VinzenzKlass/anaplan-sdk
|
@@ -24,6 +24,7 @@ theme:
|
|
24
24
|
- content.code.copy
|
25
25
|
- content.tabs.link
|
26
26
|
- search.suggest
|
27
|
+
- navigation.instant
|
27
28
|
- navigation.tabs
|
28
29
|
- navigation.top
|
29
30
|
|
@@ -64,7 +65,12 @@ nav:
|
|
64
65
|
- CloudWorks:
|
65
66
|
- Client: 'api/sync/sync_cw_client.md'
|
66
67
|
- Flows: 'api/sync/sync_flows_client.md'
|
67
|
-
- Models:
|
68
|
+
- Models:
|
69
|
+
- ALM: 'api/models/alm.md'
|
70
|
+
- Bulk: 'api/models/bulk.md'
|
71
|
+
- CloudWorks: 'api/models/cloud_works.md'
|
72
|
+
- Flows: 'api/models/flows.md'
|
73
|
+
- Transactional: 'api/models/transactional.md'
|
68
74
|
- Exceptions: 'api/exceptions.md'
|
69
75
|
- Concepts:
|
70
76
|
- Anaplan Basics: 'anaplan_explained.md'
|