Skip to content

Conversation

@t8y8
Copy link
Collaborator

@t8y8 t8y8 commented May 7, 2019

In preparation for the Metadata API (soon to be in wide beta) I wanted to add support to TSC.

It's very basic right now, it just takes a GraphQL query (a string) and returns a dict from the json response.

We could build in some helpers over time for pagination (It's more complicated in GraphQL) and methods to convert from metadata node objects to REST API objects... but for now this should let people get going.

def baseurl(self):
return "{0}/api/exp/metadata/graphql".format(self.parent_srv._server_address)

@api("3.2")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaoang2148 what's the latest, is it 3.4?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.4 is 19.2, 3.5 is 19.3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also jumps out to me, minor issue so just merged!

@gaoang2148 gaoang2148 merged commit 7e02635 into tableau:development May 7, 2019
@shinchris shinchris mentioned this pull request Oct 4, 2019
shinchris pushed a commit that referenced this pull request Oct 4, 2019
Release v0.9
## 0.9 (4 Oct 2019)

* Added Metadata API endpoints (#431)
* Added site settings for Data Catalog and Prep Conductor (#434)
* Added new fields to ViewItem (#331)
* Added support and samples for Tableau Server Personal Access Tokens (#465)
* Added Permissions endpoints (#429)
* Added tags to ViewItem (#470)
* Added Databases and Tables endpoints (#445)
* Added Flow endpoints (#494)
* Added ability to filter projects by topLevelProject attribute (#497)
* Improved server_info endpoint error handling (#439)
* Improved Pager to take in keyword arguments (#451)
* Fixed UUID serialization error while publishing workbook (#449)
* Fixed materalized views in request body for update_workbook (#461)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants