-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi maintainers,
While reviewing the documentation at https://github.com/KxSystems/pykx/blob/main/docs/user-guide/advanced/streaming/gateways.md, I noticed a reference to the call_port method, both in the text and in the code examples.
However, it appears that the call_port method is not defined in the GATEWAY class. Could you please confirm whether the documentation needs updating?
Additionally, in the following snippet:
def gateway_function(table, symbol):
rtp = gateway.call_port('rtp', table, symbol)
try:
hdb = gateway.call_port('hdb', table, symbol)
except BaseException:
print('Failed to retrieve data from HDB')
hdb = 0
return rtp + hdb
the function returns the sum of rtp and hdb. Is this behavior correct and intended?
Thanks in advance for your help.
Best regards,
Fabio
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels