APIv1 cbv
This commit is contained in:
parent
de6184273a
commit
120e929469
3 changed files with 37 additions and 8 deletions
10
app/core/injects.py
Normal file
10
app/core/injects.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from injectable import inject
|
||||
|
||||
from app.core.core import WebhookProcessor
|
||||
|
||||
|
||||
class AutowireSupport:
|
||||
|
||||
@staticmethod
|
||||
def webhook_processor():
|
||||
return inject(WebhookProcessor)
|
||||
Loading…
Add table
Add a link
Reference in a new issue