Browse Source

Define __slots__ for Endpoint

Getty Ritter 4 years ago
parent
commit
a17068d89c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lc/web.py

+ 1 - 0
lc/web.py

@@ -19,6 +19,7 @@ class ApiOK:
 
 
 class Endpoint:
+    __slots__ = ('user',)
     def __init__(self):
         self.user = None