diff --git a/README.md b/README.md index 3eb286b..f2c7982 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,12 @@ *A simple and pythonic Python implementation of ThoughtSpot's REST APIs (both V1 and V2).* +# LAST RELEASE NOTICE +The 1.8.8 release will be the last under the `thoughtspot_rest_api_v1 / thoughtspot-rest-api-v1` package name. + +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. + +The repository itself will switch to a public / private mirror system at this time as well, which will break existing watching / forks. + +# README `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. diff --git a/src/thoughtspot_rest_api_v1/_version.py b/src/thoughtspot_rest_api_v1/_version.py index 655be52..3eabb0b 100644 --- a/src/thoughtspot_rest_api_v1/_version.py +++ b/src/thoughtspot_rest_api_v1/_version.py @@ -1 +1 @@ -__version__ = '1.8.7' +__version__ = '1.8.8' diff --git a/src/thoughtspot_rest_api_v1/tsrestapiv2.py b/src/thoughtspot_rest_api_v1/tsrestapiv2.py index 95c9506..856a1cf 100644 --- a/src/thoughtspot_rest_api_v1/tsrestapiv2.py +++ b/src/thoughtspot_rest_api_v1/tsrestapiv2.py @@ -740,6 +740,13 @@ def metadata_update_obj_id(self, new_obj_id: Optional[str] = None, guid: Optiona return self.post_request(endpoint=endpoint, request=request) + def metadata_parameterize(self, request: Dict): + endpoint = 'metadata/parameterize' + return self.post_request(endpoint=endpoint, request=request) + + def metadata_unparameterize(self, request: Dict): + endpoint = 'metadata/unparameterize' + return self.post_request(endpoint=endpoint, request=request) # # /reports/ endpoints