https://dagster.io/ logo
Title
n

Nick Dellosa

12/09/2021, 7:29 PM
When using dynamic mapping, is it possible to access the mapping key from the downstream op or is that internal to Dagster?
p

prha

12/09/2021, 7:37 PM
Hey Nick! You should be able to access the mapping key off of the op context (e.g.
context.get_mapping_key()
). https://docs.dagster.io/_apidocs/execution#contexts
👍 1
n

Nick Dellosa

12/09/2021, 7:37 PM
awesome, thank you so much!
y

yuhan

06/15/2022, 10:33 PM
@Dagster Bot discussion Access the mapping key from downstream op when using dynamic mapping
d

Dagster Bot

06/15/2022, 10:33 PM
Question in the thread has been surfaced to GitHub Discussions for future discoverability: https://github.com/dagster-io/dagster/discussions/8420