https://dagster.io/ logo
Title
t

Tom Reilly

11/03/2022, 7:50 PM
How to type an arbitrary length tuple? Dagster docs say to follow PEP 484 typing and according to those docs
Arbitrary-length homogeneous tuples can be expressed using one type and ellipsis, for example
Tuple[int, ...]
. (The
...
here are part of the syntax, a literal ellipsis.)
when I try to use this on an op I get the error
E   dagster._core.errors.DagsterInvalidDefinitionError: Invalid type: dagster_type must be an instance of DagsterType or a Python type: got Ellipsis.
using dagster 1.0.10
a

alex

11/03/2022, 7:53 PM
looks like we just dont support this yet - could you file an issue?
t

Tom Reilly

11/03/2022, 8:03 PM