Slots to Middleware
This commit is contained in:
parent
c72cbe4326
commit
782e0881e5
|
@ -16,6 +16,8 @@ class MiddlewareLocation(IntEnum):
|
|||
class Middleware:
|
||||
counter = count()
|
||||
|
||||
__slots__ = ("func", "priority", "location", "definition")
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
func: MiddlewareType,
|
||||
|
|
Loading…
Reference in New Issue
Block a user