namemlo opened a new pull request, #32834: URL: https://github.com/apache/superset/pull/32834
Add a new endpoint to fetch annotations for a given layer. * Modify `superset/annotation_layers/api.py` to add a new endpoint `/annotation_layers/<int:layer_id>/annotations` to fetch all annotations for a given layer. * Modify `superset/annotation_layers/annotations/api.py` to add a new endpoint `/annotation_layers/<int:layer_id>/annotations` to fetch all annotations for a given layer. * Add `AnnotationGetSchema` to `superset/annotation_layers/annotations/schemas.py` to define the schema for fetching annotations. * Add `AnnotationGetSchema` to `superset/annotation_layers/schemas.py` to define the schema for fetching annotations. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/apache/superset?shareId=XXXX-XXXX-XXXX-XXXX). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
