10000 LIVE Vs EXTRACT on connection Detremination · Issue #1600 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

LIVE Vs EXTRACT on connection Detremination #1600

New issue

Have a question about this project? Si 8000 gn up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rsareen23 opened this issue Apr 26, 2025 · 2 comments
Closed

LIVE Vs EXTRACT on connection Detremination #1600

rsareen23 opened this issue Apr 26, 2025 · 2 comments

Comments

@rsareen23
Copy link

We are trying to determine the Connection type - LIVE vs EXTRACT on the connection in the workbook?.We are currently connecting to Database. However server.workbooks.populate_connections(getworkbook) and connection_type is giving the Database type, also embed is returning true for both extract and LIVE connection . So, how can we make this determination?. Could you please help?.

@jorwoods
Copy link
Contributor

You can use the metadata API and GraphQL to find out if the workbook has extracts.

query extracts{
  workbooks(filter:{name:"Superstore"}){
    luid
    embeddedDatasources{
      name
      id
      hasExtracts
    }
  }
}

@rsareen23
Copy link
Author

Thank you @jorwoods , I'll update my code. Thank you once again

@bcantoni bcantoni closed this as completed May 7, 2025
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

No branches or pull requests

3 participants
0