python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Simple syntax to asynchronously get access to MODBUS register
I am trying to run three simple tasks in parallel using asyncio and sharing global variables.
Two of them are working perfectly. One read websockets ("async with websockets.connect("ws://19...
orion67
Votes: 0
Answers: 1
Kucoin websocket latency
I collect tick data from kucoin's api using python and websocket.
The endpoint id ticker:all so it mean's i receive all ticks from all symbol.
async def websocketConnect():
async def event(msg):
...
michaelForb
Votes: 0
Answers: 1
Multiple websocket streams with asyncio in Python
Can anyone please help with asyncio?
I'm using it to connect to Binance websockets.
The example below is for one API key. I need to receive messages for several API keys.
Question: is it possible to d...
Yurii Kryvoborodov
Votes: 0
Answers: 1
How do I add an attribute to AsyncMock?
Code:
class SomeClass(BaseClass):
async def async_method(arg1, arg2, **kwargs):
await self.foo.bar(arg1=arg1, arg2=arg2).baz(**kwargs)
One of the tests used:
@pytest.fixture
def same_cla...
Maksim
Votes: 0
Answers: 1