server-client-python
server-client-python copied to clipboard
feat: users csv import
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.
I've been slow on this one because I have a lot of this code in tabcmd and have been trying to validate against that. I'll make some progress on it soon!
I've been slow on this one because I have a lot of this code in tabcmd and have been trying to validate against that. I'll make some progress on it soon!
@jacalata Any thoughts on this?
Checking in on this PR
With #1601 merged, I have added IDP configuration support to the bulk add.