The RelengAPI Flask App is mostly a normal Flask App, but has a few additional attributes that may be of use:
Access to authorization functionality outside of a request context. See Authentication and Authorization.
This attribute gives a list of all RelengAPI blueprints.
It is different from
current_app.blueprints in that it does not include blueprints from Flask extensions.
Each RelengAPI blueprint has a
dist attribute giving the SetupTools distribution from which the blueprint came.
Blueprints can add their own attributes to the application as necessary. These should generally begin with the name of the blueprint to avoid name collisions.