astro dev parse

The behavior and format of this command are the same for both Astro and Software.

Parse the dags in a locally hosted Astro project to quickly check them for errors. Parse tests are defined in the .astro/test_dag_integrity_default.py file of your Astro project. For more information about testing dags locally, read Test your Astro project locally.

Usage

$astro dev parse

Options

OptionDescriptionPossible Values
--build-secretsRun docker build --secret to mount a secret value to your Docker image.id=<your-secret-id>, src=<path-to-secret> . See Docker documentation.
-e, --envThe filepath to your environment variables. (The default is .env)Any valid filepath within your Astro project
-i, --image-nameThe 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

Examples

$# Parse dags
>astro dev parse
>
># Specify alternative environment variables
>astro dev parse --env=myAlternativeEnvFile.env