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

POST /modal-file-validation #162

Closed
WillEngler opened this issue Oct 2, 2024 · 0 comments · Fixed by #202
Closed

POST /modal-file-validation #162

WillEngler opened this issue Oct 2, 2024 · 0 comments · Fixed by #202
Assignees

Comments

@WillEngler
Copy link
Contributor

We need an endpoint that validates Modal files and extracts metadata from them if they are valid. This will be used to enhance the frontend modal app submission page.

Metadata to return will include:

  • app name
  • function names
  • base image and pip requirements
  • individual function text

This entrypoint (and the helper function that drives it) should also reject Modal apps that do things Garden doesn't want them to do. eg, setting up cron timed execution should be rejected

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 a pull request may close this issue.

2 participants