Skip to content

Conversation

@damienmarchal
Copy link
Contributor

With the current binding it is possible to detect if a node has an object using
the default python hasattr() function. But because of how hasattr() is implement
it imply the generation of the bindinged object regardeless this is usefull or not
from the callee's point of view.

So we add a fast path version, with the corresponding documentation and tests.

…node has an object.

With the current binding it is possible to detect if a node has an object using
the default python hasattr() function. But because of how hasattr() is implement
it imply the generation of the bindinged object regardeless this is usefull or not
from the callee's point of view.

So we add a fast path version, with the corresponding documentation and tests.
@jnbrunet jnbrunet merged commit 012b86d into sofa-framework:master Jul 23, 2021
@guparan guparan added this to the v21.06 milestone Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants