truevoid-development / dagster-composable-graphs

Library to create Dagster jobs from YAML
https://docs.truevoid.dev
Apache License 2.0
1 stars 0 forks source link

Integrate with schedules #17

Open Milias opened 6 days ago

Milias commented 6 days ago

See dagster documentation.

Idea (in the same definition as composable graph):

apiVersion: truevoid.dev/v1alpha1
kind: ComposableGraph
metadata:
  name: example-graph
spec:
  inputs:
    value1: 2.0
    value2: 5.0
  operations:
    - name: add_and_multiply
      inputs:
        - value1
        - value2
  schedule:
    cron: 15 5 * * 1-5
    status: RUNNING

Alternative idea (separate):

apiVersion: truevoid.dev/v1alpha1
kind: Schedule
metadata:
  name: example-schedule
spec:
  composedGraph:
    name: example-graph
  schedule:
    cron: 15 5 * * 1-5
    status: RUNNING