put all extensions in a new file
This commit is contained in:
+7
-1
@@ -1,6 +1,12 @@
|
||||
# coding=UTF-8
|
||||
from api.models.market import iter_markets
|
||||
from api.exceptions import ValidationError
|
||||
|
||||
|
||||
class ValidationError(Exception):
|
||||
|
||||
def __init__(self, message):
|
||||
Exception.__init__(self)
|
||||
self.message = message
|
||||
|
||||
|
||||
def validate_keys_exists(obj, *keys):
|
||||
|
||||
Reference in New Issue
Block a user