Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special Python Requirements for ETL Pipeline #21

Closed
Miro-H opened this issue Jan 11, 2022 · 1 comment
Closed

Special Python Requirements for ETL Pipeline #21

Miro-H opened this issue Jan 11, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Miro-H
Copy link
Collaborator

Miro-H commented Jan 11, 2022

Currently, there is no setup to support (possibly conflicting) package requirements for the ETL pipeline of different projects (or experiment designs).

Especially for the Ansible master, it would be nice if users could specify some virtual environment or requirements.txt file with package dependencies necessary for their ETL pipeline.

@Miro-H Miro-H added the enhancement New feature or request label Jan 11, 2022
@nicolas-kuechler
Copy link
Owner

For project-specific ETL steps (extractors, transformers, loaders), we could require to have a poetry project in does_config/etl.
(Maybe we should always have one there by default)

In this poetry project, we require to include the module of the provided etl steps (which also gives you Extractor, Transformer, Loader classes to extend for custom steps).

In Ansible where we currently call etl.py we would call the project (or one of multiple) under does_config/etl with its dependencies.

Old call:

  - name: Run ETL pipeline over results files
    delegate_to: localhost
    ansible.builtin.shell:
      cmd: python scripts/etl.py --suite {{ suite }} --id {{ suite_id }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants