Jonathan Ming02/03/2023, 8:43 PM
to my multi-asset. It works totally as expected, which is great! However,
is upset about the typing of the
decorator argument just for the multi-asset:
This is not that big of a deal for me because the assets actually do work totally fine, partitions and all 👍 But rather than slap a
error: Argument of type "StaticPartitionsDefinition" cannot be assigned to parameter "partitions_def" of type "PartitionsDefinition[object] | None" in function "multi_asset" Type "StaticPartitionsDefinition" cannot be assigned to type "PartitionsDefinition[object] | None" "StaticPartitionsDefinition" is incompatible with "PartitionsDefinition[object]" TypeVar "T@PartitionsDefinition" is invariant "str" is incompatible with "object" Type cannot be assigned to type "None" (reportGeneralTypeIssues)
on something I don’t understand, I thought I’d ask why this is happening — my fault? bug? What are your thoughts?
jamie02/03/2023, 10:20 PM
should be a
. We might have a typing bug on our end. @sean would you be able to take a look at this?
Jonathan Ming02/06/2023, 5:36 PM