feat: add GlobalCaption to db/api for text annotation#625
Conversation
| "s3_path": f"s3://test-public-bucket/{path}100-foo-1.0_globalcaption.json", | ||
| "https_path": f"{http_prefix}/{path}100-foo-1.0_globalcaption.json", | ||
| "source": "community", | ||
| "format": "json", |
|
@surygeng I'm a bit surprised this passes tests without any changes to Since we're using a glob for any json file here this presents the risk of matching both the annotation file and annotation metadata file (like I encountered when trying to test). How is that avoided here? |
| @@ -0,0 +1,23 @@ | |||
| """autogenerated | |||
There was a problem hiding this comment.
I think this file change is not needed. It is an empty change. :)
I updated the glob pattern for the |
| @@ -0,0 +1,16 @@ | |||
| { | |||
Description
Adds
GlobalCaptionas a new annotation shape type in the DB/API layer. S3 ingestion support was added in #603. This PR is a follow up to enable DB import and GraphQL API access.Changes
GlobalCaptiontoannotation_file_shape_type_enumand updatedshape_typepattern regexmake update-schema): Regenerated enums, DB models, GraphQL types, and Alembic migration