https://dagster.io/ logo
#ask-community
Title
# ask-community
b

Bianca Rosa

06/26/2022, 2:01 PM
Folks. Tryin' to get a schedule to work and finding "no schedules found". This is merely a playground/discovery and code is here. I'm running with
dagit -f random.py
and following instructions here. Am I missing something?
🤖 1
d

daniel

06/26/2022, 4:24 PM
Hi Bianca - for the schedule to show up you'll need it to be included within a Dagster repository in that file - the docs page there could be much clearer on that front. Add something like this:
Copy code
from dagster import repository

@repository
def my_repo():
  return [do_stuff, configurable_job_schedule]
b

Bianca Rosa

06/26/2022, 7:46 PM
Awesome. That worked! Ty! Also had to rename the file from
random.py
to something else due to a circular import because I was also importing python's random module 😅 Ty for the quick answer ❤️