Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.44 KB

README.md

File metadata and controls

46 lines (26 loc) · 1.44 KB

dagster_ads

Dagster code location for Astrophysics Data System (ADS) software-defined assets.

Initialized as a Dagster project scaffolded with dagster project scaffold.

Getting started

First, install your Dagster code location as a Python package.

make init

Then, start the Dagster UI web server, e.g.

dagster dev -f dagster_ads/deployment.py

Open http://localhost:3000 with your browser to see the project.

You can start writing assets in dagster_ads/assets.py. The assets are automatically loaded into the Dagster code location as you define them.

Development

Adding new Python dependencies

You can specify new Python dependencies in requirements.in and requirements.dev.in.

Then make update.

Unit testing

Tests are in the dagster_ads_tests directory and you can run tests using pytest:

pytest dagster_ads_tests

Schedules and sensors

If you want to enable Dagster Schedules or Sensors for your jobs, the Dagster Daemon process must be running. This is done automatically when you run dagster dev.

Once your Dagster Daemon is running, you can start turning on schedules and sensors for your jobs.