Skip to content
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

Gracefully handle item types that we don't cover #60

Open
wjohnson opened this issue Jan 19, 2025 · 0 comments
Open

Gracefully handle item types that we don't cover #60

wjohnson opened this issue Jan 19, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@wjohnson
Copy link
Contributor

Describe the feature
We should be able to handle new item types without throwing errors in Needlr. As a new item comes along, users should be able to still manage things like listing the objects in a workspace.

Detailed Example
For example, we currently do not support Apache Airflow Jobs. I receive an exception when trying to list all items in a workspace that contains an airflow job.

Issues that this feature solves
First time seeing this issue.

Suggested Implementation
I'm thinking we need to have an "UnhandledItemType" in Pydantic that just tries its best to extract things like display name, type, and then shoves all of the remaining content into a field like json.

Additional context
N/A

@wjohnson wjohnson added the enhancement New feature or request label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant