Garden-AI / garden

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

Using the same EntrypointMetadata object for multiple entrypoints breaks metadata.json #472

Closed MaxTuecke closed 4 months ago

MaxTuecke commented 4 months ago

If a user decides to use the same EntrypointMetadata object for multiple entrypoints, it can result in some weird behavior. Since we are internally using the users EntrypointMetadata object to store entrypoints info, reusing the object causes us to write over it for each entrypoint, resulting in all the entrypoints pointing back at the last used entrypoints info.