CAVEconnectome / CAVEclient

This is the python client for accessing REST APIs within the Connectome Annotation Versioning Engine.
https://caveconnectome.github.io/CAVEclient/
MIT License
19 stars 12 forks source link

Extend reference annotation params #57

Closed dlbrittain closed 2 years ago

dlbrittain commented 2 years ago

Updates reference_table arguments in the create_table method with an addtional optional boolean which adds a database trigger function that updates the foreign key to the annotation table if the underlying annotation get updated.

In addition I updated some of the docstrings in the annotationengine.py file to be more accurate.

fcollman commented 2 years ago

I think other than the interface comment this looks good

fcollman commented 2 years ago

I'm not sure this version is backwards compatible with the present service... we should add some tests like we have with the chunkedgraph module now to see and make a plan for deployment.