Fix type problem

This commit is contained in:
Matthias
2023-06-09 07:16:06 +02:00
parent b89390c06b
commit 16b3363970

View File

@@ -4,7 +4,7 @@ import pathlib
import shutil
from copy import deepcopy
from datetime import datetime, timedelta, timezone
from typing import Any, Dict, List
from typing import Any, Dict, List, Optional
import pandas as pd
@@ -48,7 +48,7 @@ class LookaheadAnalysis:
self.entry_varHolders: List[VarHolder] = []
self.exit_varHolders: List[VarHolder] = []
self.exchange = None
self.exchange: Optional[Any] = None
# pull variables the scope of the lookahead_analysis-instance
self.local_config = deepcopy(config)