When using dynamic mapping, is it possible to acce...
# ask-community
n
When using dynamic mapping, is it possible to access the mapping key from the downstream op or is that internal to Dagster?
p
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
awesome, thank you so much!
y
@Dagster Bot discussion Access the mapping key from downstream op when using dynamic mapping
d
Question in the thread has been surfaced to GitHub Discussions for future discoverability: https://github.com/dagster-io/dagster/discussions/8420