Skip to content

Publish datasource and connection elements #1057

Description

@jorwoods

Describe the bug
It appears to me that the publish datasource method utilizes a connectionCredentials subelement, and not a connections element.

https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_data_sources.htm#publish_data_source

The way I see it, we could solve this by one of two routes:

  1. Combine the connections and connection_credentials inside the function call to a single object that gets passed to the publish request factory.
  2. Make connection credentials accept a sequence, and surface an error to TSC users when they provide both.

Versions
Details of your environment, including:

  • Tableau Server version (or note if using Tableau Online) N/A
  • Python version 3.8.10
  • TSC library version 0.19.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions