Skip to content

Autho dagify aiida plugins#18

Closed
khsrali wants to merge 1 commit intophase1from
auto-gen-cacl-workchain
Closed

Autho dagify aiida plugins#18
khsrali wants to merge 1 commit intophase1from
auto-gen-cacl-workchain

Conversation

@khsrali
Copy link
Copy Markdown
Collaborator

@khsrali khsrali commented Nov 5, 2025

All aiida calcjobs and workchains should be detected automatically and dagified during the installation

@agoscinski agoscinski deleted the branch phase1 November 17, 2025 14:29
@agoscinski agoscinski closed this Nov 17, 2025
@agoscinski agoscinski reopened this Nov 17, 2025
Copy link
Copy Markdown
Contributor

@agoscinski agoscinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So instead of a script please use a class like bundles/aiida_dag_bundle.py. This one needs to be put into the airflow.cfg and is then automatically called when airflow serializes.

dag_bundle_config_list = [
      {
        "name": "dags-folder",
        "classpath": "airflow.dag_processing.bundles.local.LocalDagBundle",
        "kwargs": {}
      },
      {
        "name": "aiida_dags",
        "classpath": "airflow_provider_aiida.bundles.aiida_dag_bundle.AiidaDagBundle",
        "kwargs": {}
      }
    ]

Then I would use the entry points every aiida workflow already provides

@agoscinski
Copy link
Copy Markdown
Contributor

replaced by #33

@agoscinski agoscinski closed this Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants