Skip to content

Commit 5535477

Browse files
yt-msMidnighter
authored andcommitted
refactor: update upload_workspace example to use lock()
1 parent 44b93d5 commit 5535477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/upload_workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
settings = StructurizrClientSettings()
3333
workspace.id = settings.workspace_id
3434
client = StructurizrClient(settings=settings)
35-
with client:
35+
with client.lock():
3636
client.put_workspace(workspace)

0 commit comments

Comments
 (0)