Skip to content

Commit

Permalink
Add all repos to hacker_news __init__.py (#7677)
Browse files Browse the repository at this point in the history
Summary:
User expressed confusion about why this only included a single repo. Include all repos, but make the workspace.yaml scope down to a single repo using the attribute tag.

Test Plan: Run dagit in hacker-news repo
  • Loading branch information
gibsondan committed May 2, 2022
1 parent 9941f61 commit 37d9629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hacker_news/hacker_news/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .repo import hacker_news_prod
from .repo import hacker_news_local, hacker_news_prod, hacker_news_staging
3 changes: 3 additions & 0 deletions examples/hacker_news/workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
load_from:
- python_package: hacker_news
# Scopes down the repository to use in this Dagster deployment - this can be varied in
# different environments to allow the same code to be used in different environments
attribute: hacker_news_prod

0 comments on commit 37d9629

Please sign in to comment.