tableau / server-client-python

A Python library for the Tableau Server REST API
https://tableau.github.io/server-client-python/
MIT License
648 stars 416 forks source link

feat: users csv import #1409

Open jorwoods opened 3 weeks ago

jorwoods commented 3 weeks ago

This adds functionality to bulk add and bulk remove users. It has the TSC users pass in an Iterable[UserItem], and creates the csv file formatted as specified by CSV guidelines.

The previous version of create_users_from_file read a CSV file, and called the add endpoint for each one. This PR deprecates that endpoint in favor of directing users to bulk_add.