-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Reorganize DagsterInstance with consolidated public API methods and domain separation #31633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
schrockn
merged 2 commits into
master
from
schrockn/organize-instance-with-public-methods
Aug 9, 2025
Merged
Reorganize DagsterInstance with consolidated public API methods and domain separation #31633
schrockn
merged 2 commits into
master
from
schrockn/organize-instance-with-public-methods
Aug 9, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Aug 7, 2025
This was referenced Aug 7, 2025
8af97e1
to
97d7399
Compare
6ff4727
to
566e9e0
Compare
b397919
to
65682a3
Compare
566e9e0
to
26aa97b
Compare
65682a3
to
ca22ca1
Compare
26aa97b
to
c2e7024
Compare
ca22ca1
to
7031804
Compare
a12d203
to
b6a0875
Compare
d6a13ef
to
8fe47c7
Compare
b6a0875
to
fce91ec
Compare
9a9a539
to
347c75e
Compare
fce91ec
to
60b73f3
Compare
9fb398d
to
e7af97a
Compare
c988a4b
to
ad69b88
Compare
e7af97a
to
ff1f56f
Compare
ad69b88
to
cb3cd39
Compare
OwenKephart
requested changes
Aug 8, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one seems obsolete in the context of the desired end state in the above PR (where there shouldn't really be many methods on the DagsterInstance class, all of them just come from the relevant Methods
class)
OwenKephart
approved these changes
Aug 8, 2025
8489104
to
c226524
Compare
9057a37
to
92c01b4
Compare
c226524
to
5abb147
Compare
92c01b4
to
19a89bf
Compare
638d75b
to
22349c5
Compare
19a89bf
to
dd05d66
Compare
dd05d66
to
4a5770e
Compare
4a5770e
to
fd5beff
Compare
6 tasks
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary & Motivation
Reorganized the DagsterInstance class to consolidate all public API methods in the main instance.py file with clear domain separation. This refactoring improves API discoverability by moving public methods from mixins to a centralized, well-organized structure in the main Instance class.
Key organizational changes:
_asset_domain
property accessor for mixin integrationThe public API surface remains unchanged - this is purely an organizational improvement that makes the Instance API more discoverable and maintainable.
How I Tested These Changes
Existing test suite validates that all public API methods continue to work correctly. The refactoring preserves all existing functionality while improving code organization.