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

Allow transformations to set a warning flag to indicate that the pipeline has finished with warnings #463

Closed
yruslan opened this issue Aug 14, 2024 · 0 comments · Fixed by #465
Labels
enhancement New feature or request

Comments

@yruslan
Copy link
Collaborator

yruslan commented Aug 14, 2024

Background

A postprocessing step can lead to errors or warnings in the dataset.

Errors are easy - an exception can be thrown.

But warnings are not possible to add at the moment.

Feature

Allow transformations to set a warning flag to indicate that the pipeline has finished with warnings.

Example

--

Proposed Solution [Optional]

Add a warning flag and give access to it from Pramen trait, e.g.:

Pramen.instance.setWarningFlag()
@yruslan yruslan added the enhancement New feature or request label Aug 14, 2024
@yruslan yruslan changed the title Change the interface of postprocess of transformers to allow returning warnings Allow transformations to set a warning flag to indicate that the pipeline has finished with warnings Aug 14, 2024
yruslan added a commit that referenced this issue Aug 15, 2024
yruslan added a commit that referenced this issue Aug 15, 2024
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
1 participant