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 Aug 23, 2024
1 parent 5909a7e commit d91bb1d
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 @@ -258,7 +258,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 d91bb1d

Please sign in to comment.