Skip to content

Commit 45f88c4

Browse files
Updated to 1.8.8 with final version notice for this package name.
Added metadata_parameterize and metadata_unparameterize
1 parent 2c89247 commit 45f88c4

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
*A simple and pythonic Python implementation of ThoughtSpot's REST APIs (both V1 and V2).*
2+
# LAST RELEASE NOTICE
3+
The 1.8.8 release will be the last under the `thoughtspot_rest_api_v1 / thoughtspot-rest-api-v1` package name.
4+
5+
The package will transition to just `thoughtspot_rest_api / thoughtspot-rest-api` to reflect that V2.0 API is the primary API for ThoughtSpot. All code will remain the same other than the package name changing.
6+
7+
The repository itself will switch to a public / private mirror system at this time as well, which will break existing watching / forks.
8+
9+
# README
210

311
`thoughtspot_rest_api_v1` library implements the ThoughtSpot public REST APIs as directly as possible. It is not a "full SDK" with representation of each request and response type, but rather uses Python's Lists and Dicts for input and output.
412

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.8.7'
1+
__version__ = '1.8.8'

src/thoughtspot_rest_api_v1/tsrestapiv2.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,13 @@ def metadata_update_obj_id(self, new_obj_id: Optional[str] = None, guid: Optiona
740740

741741
return self.post_request(endpoint=endpoint, request=request)
742742

743+
def metadata_parameterize(self, request: Dict):
744+
endpoint = 'metadata/parameterize'
745+
return self.post_request(endpoint=endpoint, request=request)
746+
747+
def metadata_unparameterize(self, request: Dict):
748+
endpoint = 'metadata/unparameterize'
749+
return self.post_request(endpoint=endpoint, request=request)
743750

744751
#
745752
# /reports/ endpoints

0 commit comments

Comments
 (0)