Skip to content

Commit fbc15dc

Browse files
committed
formatting notebook
1 parent e9548c6 commit fbc15dc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

notebooks/GroupMigration/Workspace_Group_Migration_Notebook.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
autoGenerateList = False
9393

9494
# please provide groups here, e.g. analyst.
95-
#please provide group names and not ids
95+
# please provide group names and not ids
9696
groupL = ["groupA", "groupB"]
9797

9898

@@ -121,7 +121,7 @@
121121
# The notebook will populate data in the WorkspaceInventory and WorkspaceInventoryTableACL(If applicable).
122122
# if the notebook is run second time, it will retrieve the data from the table if already captured.
123123
# Users have the option to do a fresh inventory in which case it will recreate the tables and start again.
124-
#default set to False
124+
# default set to False
125125
freshInventory = False
126126
# Initialize GroupMigration Class with values supplied above
127127
gm = GroupMigration(
@@ -135,7 +135,7 @@
135135
checkTableACL=checkTableACL,
136136
autoGenerateList=autoGenerateList,
137137
numThreads=numThreads,
138-
freshInventory=freshInventory
138+
freshInventory=freshInventory,
139139
)
140140

141141
# COMMAND ----------
@@ -159,14 +159,14 @@
159159
# MAGIC Ex new notebook permission added, User can force a fresh inventory of the selected object instead of doing a full cleanup and dryRun to save time
160160
# MAGIC Call gm.performInventory with 3 parameters:
161161
# MAGIC - mode: Workpace("workspace local group") or Account ("for workspace back up group")
162-
# MAGIC - force: setting to True will force fresh inventory capture and updates to the tables
163-
# MAGIC - objectType: select the list of object for which to do the fresh inventory, options are
164-
# MAGIC
162+
# MAGIC - force: setting to True will force fresh inventory capture and updates to the tables
163+
# MAGIC - objectType: select the list of object for which to do the fresh inventory, options are
164+
# MAGIC
165165
# MAGIC "Group"(will do members, group list, entitlement, roles), "Password","Cluster","ClusterPolicy","Warehouse","Dashboard","Query","Job","Folder"(Will do folders, notebook and files),"TableACL","Alert","Pool","Experiment","Model","DLT","Repo","Token","Secret"
166166

167167
# COMMAND ----------
168168

169-
gm.performInventory('Workspace',force=True,objectType='Folder')
169+
gm.performInventory("Workspace", force=True, objectType="Folder")
170170

171171
# COMMAND ----------
172172

0 commit comments

Comments
 (0)