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.
Files changed (98) hide show
  1. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/PKG-INFO +1 -1
  2. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/_bulk.py +2 -2
  3. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/async/async_alm_client.md +6 -0
  4. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/async/async_audit_client.md +6 -0
  5. anaplan_sdk-0.4.3/docs/api/async/async_client.md +9 -0
  6. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/async/async_cw_client.md +6 -0
  7. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/async/async_flows_client.md +6 -0
  8. anaplan_sdk-0.4.3/docs/api/async/async_transactional_client.md +11 -0
  9. anaplan_sdk-0.4.3/docs/api/exceptions.md +9 -0
  10. anaplan_sdk-0.4.3/docs/api/models/alm.md +7 -0
  11. anaplan_sdk-0.4.3/docs/api/models/bulk.md +7 -0
  12. anaplan_sdk-0.4.3/docs/api/models/cloud_works.md +7 -0
  13. anaplan_sdk-0.4.3/docs/api/models/flows.md +7 -0
  14. anaplan_sdk-0.4.3/docs/api/models/transactional.md +7 -0
  15. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_alm_client.md +6 -0
  16. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_audit_client.md +6 -0
  17. anaplan_sdk-0.4.3/docs/api/sync/sync_client.md +9 -0
  18. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_cw_client.md +6 -0
  19. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_flows_client.md +6 -0
  20. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/api/sync/sync_transactional_client.md +6 -0
  21. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/index.md +1 -1
  22. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/quickstart.md +3 -3
  23. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/mkdocs.yml +8 -2
  24. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/pyproject.toml +1 -1
  25. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/uv.lock +511 -511
  26. anaplan_sdk-0.4.2/docs/api/async/async_client.md +0 -1
  27. anaplan_sdk-0.4.2/docs/api/async/async_transactional_client.md +0 -5
  28. anaplan_sdk-0.4.2/docs/api/exceptions.md +0 -4
  29. anaplan_sdk-0.4.2/docs/api/models.md +0 -4
  30. anaplan_sdk-0.4.2/docs/api/sync/sync_client.md +0 -1
  31. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.github/dependabot.yml +0 -0
  32. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.github/workflows/docs.yml +0 -0
  33. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.github/workflows/lint.yml +0 -0
  34. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.github/workflows/tests.yml +0 -0
  35. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.gitignore +0 -0
  36. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/.pre-commit-config.yaml +0 -0
  37. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/LICENSE +0 -0
  38. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/README.md +0 -0
  39. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/__init__.py +0 -0
  40. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/__init__.py +0 -0
  41. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_alm.py +0 -0
  42. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_audit.py +0 -0
  43. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_bulk.py +0 -0
  44. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_cloud_works.py +0 -0
  45. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_cw_flow.py +0 -0
  46. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_async_clients/_transactional.py +0 -0
  47. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_auth.py +0 -0
  48. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_base.py +0 -0
  49. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/__init__.py +0 -0
  50. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_alm.py +0 -0
  51. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_audit.py +0 -0
  52. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_bulk.py +0 -0
  53. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_cloud_works.py +0 -0
  54. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_cw_flow.py +0 -0
  55. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/_clients/_transactional.py +0 -0
  56. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/exceptions.py +0 -0
  57. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/__init__.py +0 -0
  58. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/_alm.py +0 -0
  59. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/_base.py +0 -0
  60. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/_transactional.py +0 -0
  61. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/cloud_works.py +0 -0
  62. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/anaplan_sdk/models/flows.py +0 -0
  63. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/anaplan_explained.md +0 -0
  64. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/assets/overview.html +0 -0
  65. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/css/styles.css +0 -0
  66. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/alm.md +0 -0
  67. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/audit.md +0 -0
  68. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/authentication.md +0 -0
  69. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/bulk.md +0 -0
  70. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/bulk_vs_transactional.md +0 -0
  71. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/cloud_works.md +0 -0
  72. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/logging.md +0 -0
  73. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/multiple_models.md +0 -0
  74. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/guides/transactional.md +0 -0
  75. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/img/anaplan-sdk.webp +0 -0
  76. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/index.md +0 -0
  77. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/installation.md +0 -0
  78. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/assets/hljs.js +0 -0
  79. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/assets/hljs.min.js +0 -0
  80. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/assets/python.js +0 -0
  81. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/assets/python.min.js +0 -0
  82. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/highlight.js +0 -0
  83. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/docs/js/highlight.min.js +0 -0
  84. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/conftest.py +0 -0
  85. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_alm_client.py +0 -0
  86. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_audit_client.py +0 -0
  87. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_client.py +0 -0
  88. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_cloud_works_client.py +0 -0
  89. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_flows_client.py +0 -0
  90. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/async/test_async_transactional_client.py +0 -0
  91. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/conftest.py +0 -0
  92. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/conftest.py +0 -0
  93. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_alm_client.py +0 -0
  94. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_audit_client.py +0 -0
  95. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_client.py +0 -0
  96. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_cloud_works_client.py +0 -0
  97. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_flows_client.py +0 -0
  98. {anaplan_sdk-0.4.2 → anaplan_sdk-0.4.3}/tests/sync/test_transactional_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anaplan-sdk
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: Streamlined Python Interface for Anaplan
5
5
  Project-URL: Homepage, https://vinzenzklass.github.io/anaplan-sdk/
6
6
  Project-URL: Repository, https://github.com/VinzenzKlass/anaplan-sdk
@@ -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/alm.md).
4
4
 
5
5
  ::: anaplan_sdk._async_clients._AsyncAlmClient
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/audit.md).
4
4
 
5
5
  ::: anaplan_sdk._async_clients._AsyncAuditClient
6
+
7
+ <style>
8
+ [data-md-component="toc"] li:first-of-type{
9
+ display: none!important;
10
+ }
11
+ </style>
@@ -0,0 +1,9 @@
1
+ # Bulk API Client (`AsyncClient`)
2
+
3
+ ::: anaplan_sdk.AsyncClient
4
+
5
+ <style>
6
+ [data-md-component="toc"] li:first-of-type{
7
+ display: none!important;
8
+ }
9
+ </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._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>
@@ -0,0 +1,9 @@
1
+ ::: anaplan_sdk.exceptions
2
+ options:
3
+ show_bases: true
4
+
5
+ <style>
6
+ [data-md-component="toc"] li:first-of-type{
7
+ display: none!important;
8
+ }
9
+ </style>
@@ -0,0 +1,7 @@
1
+ ::: anaplan_sdk.models._alm
2
+
3
+ <style>
4
+ [data-md-component="toc"] li:first-of-type{
5
+ display: none!important;
6
+ }
7
+ </style>
@@ -0,0 +1,7 @@
1
+ ::: anaplan_sdk.models._bulk
2
+
3
+ <style>
4
+ [data-md-component="toc"] li:first-of-type{
5
+ display: none!important;
6
+ }
7
+ </style>
@@ -0,0 +1,7 @@
1
+ ::: anaplan_sdk.models.cloud_works
2
+
3
+ <style>
4
+ [data-md-component="toc"] li:first-of-type{
5
+ display: none!important;
6
+ }
7
+ </style>
@@ -0,0 +1,7 @@
1
+ ::: anaplan_sdk.models.flows
2
+
3
+ <style>
4
+ [data-md-component="toc"] li:first-of-type{
5
+ display: none!important;
6
+ }
7
+ </style>
@@ -0,0 +1,7 @@
1
+ ::: anaplan_sdk.models._transactional
2
+
3
+ <style>
4
+ [data-md-component="toc"] li:first-of-type{
5
+ display: none!important;
6
+ }
7
+ </style>
@@ -3,3 +3,9 @@
3
3
  instance of [Client](sync_client.md). For more details, see the [Guide](../../guides/alm.md).
4
4
 
5
5
  ::: anaplan_sdk._clients._AlmClient
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/audit.md).
4
4
 
5
5
  ::: anaplan_sdk._clients._AuditClient
6
+
7
+ <style>
8
+ [data-md-component="toc"] li:first-of-type{
9
+ display: none!important;
10
+ }
11
+ </style>
@@ -0,0 +1,9 @@
1
+ # Bulk API Client (`Client`)
2
+
3
+ ::: anaplan_sdk.Client
4
+
5
+ <style>
6
+ [data-md-component="toc"] li:first-of-type{
7
+ display: none!important;
8
+ }
9
+ </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._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 [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>
@@ -3,3 +3,9 @@
3
3
  instance of [Client](sync_client.md). For more details, see the [Guide](../../guides/transactional.md).
4
4
 
5
5
  ::: anaplan_sdk._clients._TransactionalClient
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
- - The Auth APIs are used internally by the SDK to automatically manage authentication.
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: Provides pythonic access to the Anaplan API.
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: 'api/models.md'
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'
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "anaplan-sdk"
3
- version = "0.4.2"
3
+ version = "0.4.3"
4
4
  description = "Streamlined Python Interface for Anaplan"
5
5
  license = "Apache-2.0"
6
6
  authors = [{ name = "Vinzenz Klass", email = "vinzenz.klass@valantic.com" }]