Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Houdini - Node.inputs() can return None values #11

Open
johhnry opened this issue Aug 13, 2024 · 0 comments
Open

Houdini - Node.inputs() can return None values #11

johhnry opened this issue Aug 13, 2024 · 0 comments

Comments

@johhnry
Copy link

johhnry commented Aug 13, 2024

Hi,

In Houdini you can have a multi input node with empty sockets:

image

This results in this:

>>> hou.node('/out/submit_deadline1').inputs()
(None, None, <hou.RopNode of type fetch at /out/fetch1>)

Therefore the signature type should be:

def inputs(self: T) -> Tuple[Optional[T], ...]: ...

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant