TM1py 2.2.1__tar.gz → 2.2.2__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.
- {tm1py-2.2.1 → tm1py-2.2.2}/PKG-INFO +2 -2
- {tm1py-2.2.1 → tm1py-2.2.2}/README.md +1 -1
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/SubsetService.py +12 -1
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py.egg-info/PKG-INFO +2 -2
- {tm1py-2.2.1 → tm1py-2.2.2}/pyproject.toml +1 -1
- {tm1py-2.2.1 → tm1py-2.2.2}/LICENSE +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Exceptions/Exceptions.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Exceptions/__init__.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Annotation.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Application.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Axis.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Chore.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/ChoreFrequency.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/ChoreStartTime.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/ChoreTask.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Cube.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Dimension.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Element.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/ElementAttribute.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Git.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/GitCommit.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/GitPlan.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/GitProject.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/GitRemote.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Hierarchy.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/MDXView.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/NativeView.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Process.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/ProcessDebugBreakpoint.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Rules.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Sandbox.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Server.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/Subset.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/TM1Object.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/User.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/View.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Objects/__init__.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/AnnotationService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ApplicationService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/AuditLogService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/CellService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ChoreService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ConfigurationService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/CubeService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/DimensionService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ElementService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/FileService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/GitService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/HierarchyService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/JobService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/LoggerService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ManageService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/MessageLogService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/MonitoringService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ObjectService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/PowerBiService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ProcessService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/RestService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/SandboxService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/SecurityService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ServerService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/SessionService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/TM1Service.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ThreadService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/TransactionLogService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/UserService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/ViewService.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Services/__init__.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Utils/MDXUtils.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Utils/Utils.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/Utils/__init__.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py/__init__.py +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py.egg-info/SOURCES.txt +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py.egg-info/dependency_links.txt +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py.egg-info/requires.txt +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/TM1py.egg-info/top_level.txt +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/setup.cfg +0 -0
- {tm1py-2.2.1 → tm1py-2.2.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: TM1py
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: A python module for TM1.
|
|
5
5
|
Author-email: Marius Wirtz <MWirtz@cubewise.com>
|
|
6
6
|
License: MIT
|
|
@@ -38,7 +38,7 @@ Requires-Dist: ruff; extra == "dev"
|
|
|
38
38
|
Dynamic: license-file
|
|
39
39
|
|
|
40
40
|
<h1 align="center">
|
|
41
|
-
<img src="Images/Logo.svg" style="width: 70%; height: 70%; text-align: center"/>
|
|
41
|
+
<img src="https://raw.githubusercontent.com/cubewise-code/tm1py/master/Images/Logo.svg" style="width: 70%; height: 70%; text-align: center"/>
|
|
42
42
|
|
|
43
43
|

|
|
44
44
|

|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<h1 align="center">
|
|
2
|
-
<img src="Images/Logo.svg" style="width: 70%; height: 70%; text-align: center"/>
|
|
2
|
+
<img src="https://raw.githubusercontent.com/cubewise-code/tm1py/master/Images/Logo.svg" style="width: 70%; height: 70%; text-align: center"/>
|
|
3
3
|
|
|
4
4
|

|
|
5
5
|

|
|
@@ -201,7 +201,12 @@ class SubsetService(ObjectService):
|
|
|
201
201
|
return self._rest.DELETE(url=url, **kwargs)
|
|
202
202
|
|
|
203
203
|
def get_element_names(
|
|
204
|
-
self,
|
|
204
|
+
self,
|
|
205
|
+
dimension_name: str,
|
|
206
|
+
hierarchy_name: str,
|
|
207
|
+
subset: Optional[Union[str, Subset]] = None,
|
|
208
|
+
private: bool = False,
|
|
209
|
+
**kwargs,
|
|
205
210
|
) -> List[str]:
|
|
206
211
|
"""
|
|
207
212
|
Retrieve element names from a static or dynamic subset.
|
|
@@ -213,6 +218,12 @@ class SubsetService(ObjectService):
|
|
|
213
218
|
:param kwargs: Additional arguments.
|
|
214
219
|
:return: List of element names.
|
|
215
220
|
"""
|
|
221
|
+
# backward compatibility for subset_name
|
|
222
|
+
if "subset_name" in kwargs:
|
|
223
|
+
if subset is not None:
|
|
224
|
+
raise ValueError("Only one parameter 'subset' or 'subset_name' may be provided.")
|
|
225
|
+
subset = kwargs.pop("subset_name")
|
|
226
|
+
|
|
216
227
|
if isinstance(subset, str):
|
|
217
228
|
subset = self.get(subset, dimension_name, hierarchy_name, private=private, **kwargs)
|
|
218
229
|
elif not isinstance(subset, Subset):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: TM1py
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: A python module for TM1.
|
|
5
5
|
Author-email: Marius Wirtz <MWirtz@cubewise.com>
|
|
6
6
|
License: MIT
|
|
@@ -38,7 +38,7 @@ Requires-Dist: ruff; extra == "dev"
|
|
|
38
38
|
Dynamic: license-file
|
|
39
39
|
|
|
40
40
|
<h1 align="center">
|
|
41
|
-
<img src="Images/Logo.svg" style="width: 70%; height: 70%; text-align: center"/>
|
|
41
|
+
<img src="https://raw.githubusercontent.com/cubewise-code/tm1py/master/Images/Logo.svg" style="width: 70%; height: 70%; text-align: center"/>
|
|
42
42
|
|
|
43
43
|

|
|
44
44
|

|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|