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

Load 'config' module from current working directory #15

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Conversation

istride
Copy link
Collaborator

@istride istride commented Sep 1, 2023

Provides a way to easily start a run of the pipeline.

A file called config.py is required in the current working directory and the file must contain a function (or callable) called create_config that returns a dict with configuration settings.

With the config file in place, the pipeline can be started with:

python -m parenttext_pipeline.cli

I have also modified the README to reflect this, and added documentation about the available configuration settings in a separate document.

This change is backwards-compatible.

Resolves #14

Copy link
Collaborator

@edmoss345 edmoss345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense and looks good to me.

@istride istride merged commit 5109418 into main Sep 6, 2023
@istride istride deleted the create-config branch September 6, 2023 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It is not easy enough to run the pipeline
2 participants