Matthias Vogelgesang 3b5cc094c9 Add name argument when creating workspace | před 9 roky | |
---|---|---|
.gitignore | před 9 roky | |
README.md | před 9 roky | |
concert_workspacecreator.py | před 9 roky | |
setup.py | před 9 roky |
Create a workspace with
from concert.third.workspacecreator import WorkspaceCreator
creator = WorkspaceCreator('foo/bar/baz')
workspace = creator.create()
print(workspace.path)
workspace.close()
or let close automatically with the context manager
with creator.create() as workspace:
print(workspace.path)