Skip to content

Commit

Permalink
[fix] Replace invalid typing (#2955)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricekraus authored Aug 11, 2023
1 parent ca1cbe8 commit 4e9635c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/aimstack/asp/models/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _log_message(self, level: int, msg: str, **params):
def log_records(self) -> LogRecordSequence:
return LogRecordSequence(self, name='__log_records', context={})

def track(self, value, name: str, step: int = None, context: dict = None, **axis):
def track(self, value, name: str, step: Optional[int] = None, context: dict = Optional[None], **axis):
context = {} if context is None else context
sequence = self.sequences[name, context]
sequence.track(value, step=step, **axis)
Expand Down

0 comments on commit 4e9635c

Please sign in to comment.