-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[dg] Rename PackageObject* -> PluginObject* #29080
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
232a875
to
752f9c4
Compare
Deploy preview for dagster-docs ready! Preview available at https://dagster-docs-3rivfvshs-elementl.vercel.app Direct link to changed pages: |
752f9c4
to
081095c
Compare
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.
approving but note comments
def _all_packages_object_table( | ||
registry: RemotePackageRegistry, name_only: bool, feature: Optional[PackageObjectFeature] | ||
def _all_plugins_object_table( | ||
registry: RemotePluginRegistry, name_only: bool, feature: Optional[PluginObjectFeature] | ||
) -> Table: | ||
table = DagsterOuterTable(["Package"] if name_only else ["Package", "Objects"]) |
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.
Should this be updated to "Plugin"?
Note that that's a slightly annoying change because test_list_commands.py
hardcodes the expected output (we should really convert those to snapshot tests to make our lives easier)
) | ||
@dg_global_options | ||
@cli_telemetry_wrapper | ||
def list_packages_command( | ||
def list_plugins_command( | ||
name_only: bool, | ||
package: Optional[str], |
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.
note the AI's comment here (oops that this is not under test)
081095c
to
7a42174
Compare
7a42174
to
4be0e00
Compare
Summary & Motivation
Collection of renames of abstractions related to the
dg list plugins
command.dg list packages
->dg list plugins
PackageObjectKey
->PluginObjectKey
PackageObjectSnap
->PluginObjectSnap
PackageObjectFeatureData
->PluginObjectFeatureData
RemotePackageRegistry
->RemotePluginRegistry
How I Tested These Changes
Existing test suite.