Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
20 stars 4 forks source link

Multiple publication through prototype #302

Closed isaac-darling closed 1 year ago

isaac-darling commented 1 year ago

Fixes #299

Overview

Adds more comprehensive metadata support to functions decorated with the garden_pipeline decorator and uses this addition to employ multiple publication/execution. (i.e. multiple uniquely executable publications in one call to garden-ai prototype register [planted-image])

Discussion

This implementation is very subjective, and open to input on all fronts.

Testing

Did a complete test run-through with a notebook example, and, if so desired, another run can be done with a normal Python script.

Documentation

This whole thingamajig deserves some rather serious documentation overhaul, and this bit in particular will make the structure rather different compared to without.


:books: Documentation preview :books:: https://garden-ai--302.org.readthedocs.build/en/302/

codecov-commenter commented 1 year ago

Codecov Report

Merging #302 (9f97744) into main (f75278f) will decrease coverage by 0.46%. The diff coverage is 18.84%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main     #302      +/-   ##
==========================================
- Coverage   79.67%   79.21%   -0.46%     
==========================================
  Files          41       41              
  Lines        2209     2223      +14     
==========================================
+ Hits         1760     1761       +1     
- Misses        449      462      +13     
Files Coverage Δ
garden_ai/__init__.py 100.00% <100.00%> (ø)
garden_ai/pipelines.py 84.00% <ø> (-0.22%) :arrow_down:
garden_ai/container/containerize.py 23.72% <40.00%> (+1.31%) :arrow_up:
garden_ai/app/prototype.py 23.97% <15.87%> (-1.79%) :arrow_down: