Skip to content

Commit 4f7ec3d

Browse files
committed
formatting
1 parent c77d571 commit 4f7ec3d

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

notebooks/GroupMigration/Workspace_Group_Migration_Notebook.py

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -148,34 +148,21 @@
148148
# MAGIC %md
149149
# MAGIC #### Adhoc Step: Selective Inventory
150150
# MAGIC This is a adhoc step for troubleshooting purpose. Once dryRun is complete and data stored in tables, if the acl of any object is changed in the workspace
151-
<<<<<<< Updated upstream
152-
# 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
153-
# MAGIC Call gm.performInventory with 3 parameters:
154-
# MAGIC - mode: Workpace("workspace local group") or Account ("for workspace back up group")
155-
# MAGIC - force: setting to True will force fresh inventory capture and updates to the tables
156-
# MAGIC - objectType: select the list of object for which to do the fresh inventory, options are
157-
# MAGIC
158-
=======
159151
# MAGIC Ex new notebook permission added, User can force a fresh inventory of the selected object instead of doing a full cleanup and running the dryRun
160152
# MAGIC To save time call gm.performInventory with 3 parameters:
161153
# MAGIC - mode: Workpace("for 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
165-
>>>>>>> Stashed changes
154+
# MAGIC - force: setting to True will force fresh inventory capture and updates to the tables
155+
# MAGIC - objectType: select the list of object for which to do the fresh inventory, options are
156+
# MAGIC
166157
# 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"
167158
# MAGIC Ex: gm.performInventory('Workspace',force=True,objectType='Cluster') will do:
168159
# MAGIC - fresh inventory of all cluster objects and updated the data the inventory table
169160
# MAGIC - run printInventory() to verify all the permission again (including clusters).
170161

171162
# COMMAND ----------
172163

173-
<<<<<<< Updated upstream
174-
gm.performInventory("Workspace", force=True, objectType="Folder")
175-
=======
176-
gm.performInventory('Workspace',force=True,objectType='Cluster')
164+
gm.performInventory("Workspace", force=True, objectType="Cluster")
177165
gm.printInventory()
178-
>>>>>>> Stashed changes
179166

180167
# COMMAND ----------
181168

0 commit comments

Comments
 (0)