From 04a87c1da672f4cfc9d7021728612ebdbd531d6b Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 4 Nov 2022 09:15:09 +0000 Subject: [PATCH] Add some comments about the exchange variables --- core/exchanges/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/exchanges/__init__.py b/core/exchanges/__init__.py index 66af127..ad1f6a1 100644 --- a/core/exchanges/__init__.py +++ b/core/exchanges/__init__.py @@ -4,9 +4,13 @@ from pydantic import ValidationError from core.lib import schemas from core.util import logs +# Return error if the schema for the message type is not found STRICT_VALIDATION = False + +# Raise exception if the conversion schema is not found STRICT_CONVERSTION = False +# TODO: Set them to True when all message types are implemented class BaseExchange(object): def __init__(self, account):