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
Thanks!
In fact Data Reader works fine.
But when I try to launch one of the functions like in your sample to programmatically access the JSON then an error ia raised:
async for result in data_reader.main(default_port_settings):
^
SyntaxError: 'async for' outside async function
The text was updated successfully, but these errors were encountered:
________________________________
From: alexkno79 ***@***.***>
Sent: Wednesday, September 20, 2023 6:53:20 AM
To: ChristianSauer/smlpy ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [ChristianSauer/smlpy] async Error when using sample (Issue #1)
Thanks!
In fact Data Reader works fine.
But when I try to launch one of the functions like in your sample to programmatically access the JSON then an error ia raised:
async for result in data_reader.main(default_port_settings):
^
SyntaxError: 'async for' outside async function
—
Reply to this email directly, view it on GitHub<#1>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABXKCSMS3N2BSLFFSYRQ7TDX3JZEBANCNFSM6AAAAAA47JDTL4>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
Thanks!
In fact Data Reader works fine.
But when I try to launch one of the functions like in your sample to programmatically access the JSON then an error ia raised:
async for result in data_reader.main(default_port_settings):
^
SyntaxError: 'async for' outside async function
The text was updated successfully, but these errors were encountered: