Skip to content

[dg] Remove dg list component-type #29095

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
merged 1 commit into from
Apr 8, 2025
Merged

Conversation

smackesey
Copy link
Collaborator

@smackesey smackesey commented Apr 8, 2025

Summary & Motivation

Remove dg list component-type. Convert dg list component-type tests to use dg list plugins instead.

How I Tested These Changes

Modified existing tests.

Changelog

The dg list component-type command has been removed. There is a new dg list plugins with output that is a superset of dg list component-type.

Copy link
Collaborator Author

smackesey commented Apr 8, 2025

@smackesey smackesey force-pushed the sean/dg/package-object-renames branch from 232a875 to 752f9c4 Compare April 8, 2025 13:55
@smackesey smackesey force-pushed the sean/dg/rm-list-component-type branch from 1127425 to e49eb2a Compare April 8, 2025 13:55
@smackesey smackesey marked this pull request as ready for review April 8, 2025 13:59
@smackesey smackesey force-pushed the sean/dg/rm-list-component-type branch from 8ebaf80 to 1ba6e67 Compare April 8, 2025 16:09
@smackesey smackesey force-pushed the sean/dg/package-object-renames branch from 081095c to 7a42174 Compare April 8, 2025 16:09
):
output.append({"key": entry.key.to_typename(), "summary": entry.summary})
for entry in sorted(registry.get_objects(), key=lambda x: x.key.to_typename()):
output.append(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

totally fine for the purposes of this PR but my dream is for the "DagsterOuterTable / DagsterInnerTable" stuff to have functionality to auto-generate the json-ified output based on the table structure

e.g. right now this output is still kinda bad because it doesn't include the plugin name

this PR doesn't make it worse or anything, just logging for the future

@smackesey smackesey force-pushed the sean/dg/package-object-renames branch from 7a42174 to 4be0e00 Compare April 8, 2025 16:30
@smackesey smackesey force-pushed the sean/dg/rm-list-component-type branch from 1ba6e67 to 0c0433f Compare April 8, 2025 16:30
Base automatically changed from sean/dg/package-object-renames to master April 8, 2025 17:06
@smackesey smackesey requested a review from neverett as a code owner April 8, 2025 17:06
@smackesey smackesey force-pushed the sean/dg/rm-list-component-type branch from 0c0433f to 77b0c62 Compare April 8, 2025 17:13
@smackesey smackesey force-pushed the sean/dg/rm-list-component-type branch from 77b0c62 to ce35eda Compare April 8, 2025 18:52
@smackesey smackesey merged commit 57b39ff into master Apr 8, 2025
7 checks passed
@smackesey smackesey deleted the sean/dg/rm-list-component-type branch April 8, 2025 19:51
smackesey added a commit that referenced this pull request Apr 9, 2025
## Summary & Motivation

Remove `dg list component-type`. Convert `dg list component-type` tests
to use `dg list plugins` instead.

## How I Tested These Changes

Modified existing tests.

## Changelog

The `dg list component-type` command has been removed. There is a new
`dg list plugins` with output that is a superset of `dg list
component-type`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants