You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
factory can be either StepTickTimeFactory or FrozenDateTimeFactory. It's a bit annoying, because the two have slightly different APIs (e.g. tick() takes different types).
Could this one be more type friendly (I don't have suggestion... but somehow). Now, in order to satisfy mypy, one has the cast the factory into specific type, assert it, or smth?
The text was updated successfully, but these errors were encountered:
factory
can be eitherStepTickTimeFactory
orFrozenDateTimeFactory
. It's a bit annoying, because the two have slightly different APIs (e.g.tick()
takes different types).Could this one be more type friendly (I don't have suggestion... but somehow). Now, in order to satisfy mypy, one has the cast the
factory
into specific type,assert
it, or smth?The text was updated successfully, but these errors were encountered: