-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[bug]: Nodes unable to connect ModelIdentifierField without a ui_type set to an input ModelIdentifierField with a ui_type set #6380
Comments
The name
But what it actually means is this:
In this case, the The So it's worked exactly as expected right now. To resolve this, we could add rudimentary subtyping for model fields. We already do this for For example, |
I mixed up which is an input and which is an output in your nodes. If the input is Ok, another idea - we can track the python-source types alongside any type override specified with |
Thanks for the explanation it does clarify my understanding of the ui_type. Tracking the Python type alongside the overridden type makes the most sense to me. But is it useful to other nodes or cause issues? I am far away from the same oversight of the project as you are and worry that it might introduce other problems that are not immediately obvious. The most obvious thing is the reduction in strict type-checking in the UI but in this case, the worst is the model can't be found and loaded (I think!!!). There are multiple other options available that I could look into from the node end of things that would require no change to the core:
|
Is there an existing issue for this problem?
Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
No response
GPU VRAM
No response
Version number
4.2.1
Browser
chrome
Python dependencies
No response
What happened
While using my custom nodes in my XYGrid nodes pack. You are prevented from connecting an output ModelIdentifierField (without a ui_type set) to an input ModelIdentifierField field that has a ui_type set.
This was reported as a bug on my nodes pack today. skunkworxdark/XYGrid_nodes#6
What you expected to happen
It should allow you to connect them as the base type is the same.
How to reproduce the problem
No response
Additional context
No response
Discord username
skunkworxdark
The text was updated successfully, but these errors were encountered: