Skip to content

Commit

Permalink
Update examples/python/add_users_to_group_from_csv.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldodge79 authored Aug 6, 2021
1 parent 38f1880 commit 938fd1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/python/add_users_to_group_from_csv.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import looker_sdk
import csv
import exceptions

####Initialize API/SDK for more info go here: https://pypi.org/project/looker-sdk/
from looker_sdk import methods, models40
Expand Down Expand Up @@ -47,4 +46,4 @@ def add_csv_of_users_to_group(group_name:str, file_path:str):
else:
print("Group does not exist")
## THE FILE NAME OF THE CSV WILL WORK IF IT IS IN THE SAME DIRECTORY
add_csv_of_users_to_group("GROUPNAME", "test.csv")
add_csv_of_users_to_group("GROUPNAME", "test.csv")

0 comments on commit 938fd1c

Please sign in to comment.