webhook endpoint
This commit is contained in:
@@ -16,4 +16,4 @@ class Target(SurrogatePK, Model):
|
||||
super(Target, self).__init__(**kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s(%d):%r->%r>' % (Target.__name__, self.id, self.routing_key, self.exchange.name)
|
||||
return f'<{Target.__name__}({self.id}):{self.routing_key!r}->{self.exchange.name!r}>'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from flask import Blueprint
|
||||
from flask_apispec import use_kwargs, marshal_with, doc
|
||||
from flask_apispec import use_kwargs, marshal_with
|
||||
from flask_jwt_extended import jwt_required
|
||||
from marshmallow import fields
|
||||
|
||||
|
||||
Reference in New Issue
Block a user