Running into a problem yielding a `RunRequest` fro...
# ask-community
c
Running into a problem yielding a
RunRequest
from a sensor for a
MultiPartition
asset. One of the keys is
Static
and the other is
Dynamic
. I'm assigning a
MultiPartitionKey
to the
RunRequest
with a dict of each key, and I'm returning the new dynamic key via an
AddDynamicPartitionsRequest
. Without the
RunRequest
, the sensor succeeds and creates the new dynamic partitions, but when adding it to the
SensorResult
, it fails with:
Copy code
dagster._core.errors.DagsterUnknownPartitionError: Could not find a partition with key ...
Should this be possible? Am I doing something wrong?
I have the RunRequest part commented out at the moment
c
Hi Charlie, thanks for reporting. This is a bug on our end, the sensor has some logic to that determines the full set of dynamic partition keys after evaluating requests, but it's not handling the case where a requested partition key is multipartitioned. I'll put a fix out for next week's release.