by
0xfbae…8fa2
Fixes bug of async call in status command from Cython
Voting ended about 3 years agoFailed
In status_command.py the inspect module is used (inspect.iscoroutinefunction - line 73) for checking whether the format_status function of the running strategy is a coroutine (async), which returns False if the strategy is implemented in Cython and causes an Exception to be thrown.
As discussed here the asyncio.iscoroutinefunction should be used for Cython support.
This PR replaces use of the inspect.iscoroutinefunction with asyncio.iscoroutinefunction to support strategies implemented in Cython.
PR: https://github.com/hummingbot/hummingbot/pull/5421
Off-Chain Vote
Loading…
- Author
0xfbae…8fa2
- IPFS#QmRf9DhL
- Voting Systembasic
- Start DateJun 19, 2022
- End DateJun 26, 2022
- Total Votes Cast24.68K HBOT
- Total Voters2
Timeline
- Jun 19, 2022Proposal created
- Jun 19, 2022Proposal vote started
- Jun 26, 2022Proposal vote ended
- Oct 26, 2023Proposal updated