AllenNeuralDynamics / aind-codeocean-utils

Repository to facilitate interfacing with Code Ocean's index
MIT License
0 stars 0 forks source link

Method to apply custom metadata to data assets #2

Closed dyf closed 8 months ago

dyf commented 12 months ago

User story

As a user, I want to run a method to easily update custom metadata.

Acceptance criteria

Sprint Ready Checklist

Notes

Add any helpful notes here.

Sun-flow commented 10 months ago

This functionality is being fulfilled in the repo: https://github.com/AllenNeuralDynamics/CustomMetadataTagger

A codeocean capsule exists that is fulfilling this request. How can I perform a review on this work @dyf @jtyoung84 ?

jtyoung84 commented 10 months ago

@Sun-flow I think the plan was to put the core logic in this repository. We can add a method similar to the APIHandler update_tags function and import this library as a dependency in the CustomMetadataTagger capsule. By maintaining the core logic here, we can re-use the function in other capsules and pipelines that are adding CustomMetadata on created data assets. I can update the acceptance criteria to remove the mention of document db. The CustomMetadataTagger capsule can pull the information from the different places and use a method here to combine the information.

jtyoung84 commented 8 months ago

Closing this out for now