Skip to content

Commit

Permalink
bug fix object proxy client
Browse files Browse the repository at this point in the history
  • Loading branch information
VigneshVSV committed Aug 9, 2024
1 parent 504cde2 commit b5581d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hololinked/client/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ObjectProxy:

_own_attrs = frozenset([
'__annotations__',
'_zmq_client', '_async_zmq_client', '_allow_foreign_attributes',
'zmq_client', 'async_zmq_client', '_allow_foreign_attributes',
'identity', 'instance_name', 'logger', 'execution_timeout', 'invokation_timeout',
'_execution_timeout', '_invokation_timeout', '_events', '_noblock_messages',
'_schema_validator'
Expand Down
4 changes: 2 additions & 2 deletions tests/test_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async def message_coro():
nonlocal success, client
for i in range(2000):
value = gen_random_data()
ret = await client.async_invoke('test_echo', value)
ret = await client.async_invoke_action('test_echo', value)
# print("async", 1, i, value, ret)
if value != ret:
print("error", "async", 1, i, value, ret)
Expand All @@ -211,7 +211,7 @@ async def message_coro(id):
nonlocal success, client
for i in range(1000):
value = gen_random_data()
ret = await client.async_invoke('test_echo', value)
ret = await client.async_invoke_action('test_echo', value)
# print("multi-coro", id, i, value, ret)
if value != ret:
print("error", "multi-coro", id, i, value, ret)
Expand Down

0 comments on commit b5581d4

Please sign in to comment.