The behavior and format of this command are the same for both Astro and Astro Private Cloud.
.astro/test_dag_integrity_default.py file of your Astro project. For more information about testing dags locally, read Test your Astro project locally.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Parse the dags to check for errors in a local Airflow environment.
.astro/test_dag_integrity_default.py file of your Astro project. For more information about testing dags locally, read Test your Astro project locally.
astro dev parse
| Option | Description | Possible Values |
|---|---|---|
--build-secret | Run docker build --secret to mount a secret value to your Docker image. Repeat the flag to mount more than one secret. Replaces the deprecated --build-secrets flag. | id=<your-secret-id>, src=<path-to-secret> . See Docker documentation. |
-e, --env | The filepath to your environment variables. (The default is .env) | Any valid filepath within your Astro project |
-i, --image-name | The name of a pre-built custom Docker image to use with your project. The image must be available on your local machine. | A valid name for a pre-built Docker image based on Astro Runtime |
# Parse dags
astro dev parse
# Specify alternative environment variables
astro dev parse --env=myAlternativeEnvFile.env
Was this page helpful?