dpgaspar commented on issue #9077: [SIP-35] Proposal for Improving Superset’s Python Code Organization URL: https://github.com/apache/incubator-superset/issues/9077#issuecomment-588408594 @willbarrett that's a good explanation. @john-bodley The proposed FAB model is that a blueprint is related with a `BaseApi` class and the blueprint's `url_prefix` is defined on the `route_base` class attribute. By default `BaseApi` and `ModelRestApi` will compose `/api/<version>/<resource_name>/` for the url_prefix of the blueprint. It's possible to overlay `url_prefix` has long has the endpoints don't collide. Yet, I'm curious about the need to create a big blueprint that holds all API endpoints? Note that we aggregate all API classes under a base API class, where we can impose specific behavior/config.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
