Skip to content

Commit

Permalink
Release 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusWirtz committed Apr 19, 2024
1 parent 9c8be13 commit a191ccb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Requirements
- python (3.7 or higher)
- requests
- requests_negotiate_sspi
- TM1 11
- TM1 11, TM1 12


Optional Requirements
Expand Down Expand Up @@ -76,6 +76,25 @@ with TM1Service(
```


> TM1 12 MCSP
``` python
from TM1py import TM1Service

params = {
"base_url": "https://us-east-1.planninganalytics.saas.ibm.com/api/<TenantId>/v0/tm1/<DatabaseName>/",
"user": "apikey",
"password": "<TheActualApiKey>",
"async_requests_mode": True,
"ssl": True,
"verify": True
}

with TM1Service(**params) as tm1:
print(tm1.server.get_product_version())
```


> TM1 12 PAaaS
``` python
Expand Down
2 changes: 1 addition & 1 deletion TM1py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@
from TM1py.Utils import Utils
from TM1py.Services.JobService import JobService

__version__ = "2.0.2"
__version__ = "2.0.3"
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = '2.0.2'
version = '2.0.3'
# The full version, including alpha/beta/rc tags.
release = '2.0.2'
release = '2.0.3'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

SCHEDULE_VERSION = '2.0.2'
SCHEDULE_VERSION = '2.0.3'
SCHEDULE_DOWNLOAD_URL = (
'https://github.com/Cubewise-code/TM1py/tarball/' + SCHEDULE_VERSION
)
Expand Down

0 comments on commit a191ccb

Please sign in to comment.