Skip to content
Discussion options

You must be logged in to vote

Sorry for the late reply. The most high-level method for generating derivatives Attacher#create_derivatives, which internally calls Attacher#process_derivatives (this calls your Attacher.derivatives block) and then calls Attacher#add_derivatives.

The Attacher#create_derivatives method doesn't support passing metadata, but Attacher#add_derivatives should accept the metadata: keyword argument. So, if you just call these two methods separately, you should be good to go.

If you need per-derivative metadata, then I recommend not using an Attacher.derivatives block but just generating derivatives manually.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jrochkind
Comment options

jrochkind May 17, 2025
Collaborator Author

Answer selected by jrochkind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants