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

Save output node ID in file metadata #5235

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bezo97
Copy link

@bezo97 bezo97 commented Oct 13, 2024

I'm working on solving a feature request that involves a small backend modification. In short, the goal is to display the dropped file in the node it was saved by.

To make this work I allow nodes to access their own unique id's and then modify SaveImage, SaveAudio to write it in metadata.

Related frontend PR: link, which depends on this PR to work.

Implementation details:

  • nodes can access their unique IDs in the id field
  • output nodes like SaveImage, SaveAudio, Preview... etc. utilize this to serialize ID in the metadata

For reviewers:

  • Please confirm whether the ID I'm using in execution.py is correct as there were multiple IDs related to the node. Looks like they are all the same.

- nodes can access their unique IDs
- output nodes like SaveImage, SaveAudio, Preview... etc. utilize this to serialize ID in the metadata
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

Successfully merging this pull request may close these issues.

1 participant