https://dagster.io/ logo
Title
n

Navneet Sajwan

09/07/2021, 11:24 AM
Hi everyone, Is it possible to access the dagit ui with empty workspace.yaml?
n

Nathan Saccon

09/07/2021, 12:48 PM
1. dagit -f path/to/file.py Here is a link to the docs: https://docs.dagster.io/_apidocs/cli#dagit
d

daniel

09/07/2021, 1:27 PM
Hi Navneet - there's a
--empty-workspace
arg to dagit that lets you load it without specifying any repositories to load
n

Navneet Sajwan

09/07/2021, 3:02 PM
@daniel, but I want the ability to add repositories to workspace.yaml as required. I tried it, but when I reload workspace, it doesn't show the added repositories.
d

daniel

09/07/2021, 4:42 PM
I see - that’s a reasonable request if writing load_from: [] in your workspace.yaml is not working, would you mind filing an issue?
er wait it's actually working for me. If I make my workspace.yaml
load_from: []
then load dagit, then edit my workspace.yaml to include repositories, then reload the workspace, I see the added repositories.
1
👍 2
(Reloading the workspace by pressing the "Reload all" button on the Status page)
n

Navneet Sajwan

09/10/2021, 5:01 AM
Thanks. It works for me