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

[API] Support Object Formatting on List Requests & Specifically Minimal Function Format #5659

Merged
merged 10 commits into from
May 30, 2024

Conversation

quaark
Copy link
Member

@quaark quaark commented May 30, 2024

https://iguazio.atlassian.net/browse/ML-6592

Support object formatting on List requests with generic ObjecFormat class which can specify format methods for each format type and supplies a dictionary filter helper as most of our format methods will just be filtering items we want to return from the object.

Added FunctionFormat with minimal format to supply only what's needed for the functions UI screen:

kind
metadata (contains name, updated at, hash, tag)
status (contains state)
spec.description
spec.image
spec.default_handler
spec.entry_points
Screenshot 2024-05-30 at 10 19 32

@quaark quaark merged commit 11e54a8 into mlrun:development May 30, 2024
11 checks passed
quaark added a commit to quaark/mlrun that referenced this pull request Jun 3, 2024
…al Function Format (mlrun#5659)

* function format

* function format

* function format

* fix defaults

* split formatters

* big oops

* less diff

---------

Co-authored-by: quaark <a.melnick@icloud.com>
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.

None yet

2 participants