Decorators

awe.decorators.inject(variables=None, elements=None)[source]

Used with elements that accept function callbacks.

Parameters:
  • variables – Variables that will be injected to the function arguments by name.
  • elements – Elements that will be injected to the function arguments by name.