My ORM api instance needs to be dynamically declared (to pass in the API url and login via oauth2). I've used this technique but is there a better way? ```python api = make_api(api_url) api.type_registry.register(Design) Design._options.api = api ```
My ORM api instance needs to be dynamically declared (to pass in the API url and login via oauth2).
I've used this technique but is there a better way?