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
I'm unsure how can I "unwrap" the underlying server object when it's returned from the client as part of an API call. This is something that is easily achievable on the C++ side via CapabilityServerSet, but I can't seem to find an alternative in the python wrapper.
classMyObjectImpl(myinterface_capnp.MyInterface.MyObject.Server):
# server-side implementetion of MyObjectclassMyInterfaceImpl(myinterface_capnp.MyInterface.Server):
asyncdefcreate(self, **kwargs):
returnMyObjectIml()
asyncdefdoSomething(self, obj, **kwargs):
# obj is of type capnp.lib.capnp._DynamicCapabilityClient# I'd like to access the corresponding MyObjectImpl object
The text was updated successfully, but these errors were encountered:
I'm unsure how can I "unwrap" the underlying server object when it's returned from the client as part of an API call. This is something that is easily achievable on the C++ side via
CapabilityServerSet
, but I can't seem to find an alternative in the python wrapper.Example:
The text was updated successfully, but these errors were encountered: