<@U0667DNC02Y> is there a way to import all possib...
# ask-ai
j
@Scout is there a way to import all possible run statuses of a dagster job from the dagster graphql python client library?
s
Yes, you can import the
DagsterRunStatus
enum from the
dagster
package, which contains all possible run statuses for a Dagster job. Here's how you can import it:
Copy code
python from dagster import DagsterRunStatus
This enum will provide you with the statuses that a Dagster job run can have. Keep in mind that this is based on the Dagster core library, not specifically the Dagster GraphQL Python client library. However, the statuses should be consistent across the different parts of the Dagster system.