HomePhabricator

Create script to generate library

Authored by Sashank Thupukari <s@thupukari.com> on Aug 3 2019, 2:22 AM.

Description

Create script to generate library

Summary:
Automate generating a dagster library. Uses a template found in bin/assets and a user-provided name to set up a library correctly, since it's easy to miss all the places you have to include the library name.

The generated library includes a simple "helloworld" resource and solid

Test Plan:
To use:

python bin/create_library.py --name="sftp"

To test:

cd python_modules/libraries/dagster-sftp
pytest

Reviewers: #ft, max, alangenfeld, schrockn

Reviewed By: #ft, schrockn

Subscribers: schrockn, alangenfeld, max, natekupp

Differential Revision: https://dagster.phacility.com/D759

Details

Committed
Sashank Thupukari <s@thupukari.com>Aug 13 2019, 6:04 PM
Reviewer
Restricted Project
Differential Revision
D759: Create script to generate library
Parents
R1:23e79f76d767: Add dagster-dbt to install_dev_python_modules
Branches
Unknown
Tags
Unknown