I’m trying to come up with a keystone extension that provides dependency injections as described in the keystone docs (and other extensions) but when i try to access the dependency’s functions in my controller, i get an “AttributeError: ‘MyExtControllerV3′ object has no attribute ‘myext_api’”
In my core.py file, i have :-
@dependency.provider(‘myext_api’)
class Manager(manager.Manager):
…
in controllers.py:-
@dependency.requires(‘myext_api’)
class MyExtControllerV3(controller.V3Controller):
…
Any pointers?