Skip to content

Possible path towards improvements of tasks JSON schemas #3

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

Open
tcompa opened this issue Jun 10, 2024 · 1 comment
Open

Possible path towards improvements of tasks JSON schemas #3

tcompa opened this issue Jun 10, 2024 · 1 comment

Comments

@tcompa
Copy link
Contributor

tcompa commented Jun 10, 2024

Here is how I propose we could proceed in view of improvements of the JSON Schema generation tools:

  1. Test JSON-Schema generation on multiple packages fractal-tasks-core#757 (low-effort)
  2. Relaxing pydantic requirements fractal-tasks-core#760
  3. Switch to Pydantic v2 fractal-tasks-core#592
  4. Allow conditional fields & either/or logic #4
  5. Allow developers to influence schema building in finer detail #5

It'd be great to work on tasks 1 and 2 first, if possible, so that we have a bit more solid foundations to move on.

@jluethi
Copy link

jluethi commented Jun 10, 2024

Sounds reasonable.

4 & 5 were not added as something we need to urgently add, but as goals we should work towards.

Step 5 would then be work towards fractal-analytics-platform/fractal-tasks-core#200 (major topics here aren't just schemas, but also what OME-Zarr metadata we store where & when)

@tcompa tcompa transferred this issue from fractal-analytics-platform/fractal-tasks-core Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants