Enable `@autowired` decorator to be called without parenthesis
roo-oliv opened this issue · 1 comments
roo-oliv commented
When one doesn't want to pass in any parameters into @autowired
decorator they can't symple do:
@autowired
def foo(...)
Instead they are required to use empty parenthesis for it to work:
@autowired()
def foo(...)
It would be best to omit the parenthesis when no arguments will be used.
roo-oliv commented
Celery's task decorator implements this feature. Investigating it's implementation may be useful.