type anotation fixes

This commit is contained in:
xmatthias
2018-05-30 22:38:09 +02:00
parent 88755fcded
commit 45909af7e0
4 changed files with 10 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ This module contains the class to persist trades into SQLite
import logging
from datetime import datetime
from decimal import Decimal, getcontext
from typing import Dict, Optional
from typing import Dict, Optional, Any
import arrow
from sqlalchemy import (Boolean, Column, DateTime, Float, Integer, String,
@@ -21,7 +21,7 @@ from sqlalchemy import inspect
logger = logging.getLogger(__name__)
_CONF = {}
_DECL_BASE = declarative_base()
_DECL_BASE = declarative_base() # type: Any
def init(config: dict, engine: Optional[Engine] = None) -> None: