Open ainilaha opened 4 years ago
A keyword async used as a parameter in the __init__(self, replay_cls, replay_kwargs, async=True): function of ReplayWrapper, and it raises a syntax error when I run the code on a local machine with python 3.5 and 3.8 (I have not tried with docker).
async
__init__(self, replay_cls, replay_kwargs, async=True):
ReplayWrapper
>>> import keyword >>> keyword.kwlist ['False', 'None', 'True', 'and', 'as', 'assert', 'async',...
Therefore, async has been replaced with async_flag.
async_flag
It seems unnecessary to pass the async=True in the examples.py because the default value is True.
async=True
examples.py
True
A keyword
async
used as a parameter in the__init__(self, replay_cls, replay_kwargs, async=True):
function ofReplayWrapper
, and it raises a syntax error when I run the code on a local machine with python 3.5 and 3.8 (I have not tried with docker).Therefore,
async
has been replaced withasync_flag
.It seems unnecessary to pass the
async=True
in theexamples.py
because the default value isTrue
.