Skip to content

Commit

Permalink
docs: create_users_csv docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jorwoods committed Jul 26, 2024
1 parent 25a86c9 commit 0152fae
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tableauserverclient/server/endpoint/users_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,16 @@ def _get_groups_for_user(

def create_users_csv(users: Iterable[UserItem], identity_pool=None) -> bytes:
"""
Create a CSV byte string from an Iterable of UserItem objects
Create a CSV byte string from an Iterable of UserItem objects. The CSV will
have the following columns, and no header row:
- Username
- Password
- Display Name
- License
- Admin Level
- Publish capability
- Email
"""
if identity_pool is not None:
raise NotImplementedError("Identity pool is not supported in this version")
Expand Down

0 comments on commit 0152fae

Please sign in to comment.