Skip to content

1669: stop execution when multiple --data options are provided#1684

Merged
SFJohnson24 merged 4 commits into
mainfrom
1669
Apr 8, 2026
Merged

1669: stop execution when multiple --data options are provided#1684
SFJohnson24 merged 4 commits into
mainfrom
1669

Conversation

@alexfurmenkov
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread core.py
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think we should update the cli. If we update for this option, we need to update for all options where multiple=False. It behaves the same way any typical cli would behave when multiple of the same option are provided.

Comment thread README.md Outdated
loaded metadata and rules
-ps, --pool-size INTEGER Number of parallel processes for validation
-d, --data TEXT Path to directory containing data files
-d, --data TEXT Path to directory containing data files. Can can only be provided once.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Typo. maybe give more info: "Should only be provided once. If provided more than once, only the last value will be recorded."

@alexfurmenkov alexfurmenkov changed the title stop execution when multiple --data options are provided 1669: stop execution when multiple --data options are provided Apr 7, 2026
Comment thread core.py Outdated
"--data",
required=False,
multiple=True,
help=f"Path to directory containing data files ({VALIDATION_FORMATS_MESSAGE})",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sorry, i missed this before. We should update the help text as well.

Copy link
Copy Markdown
Collaborator

@RamilCDISC RamilCDISC left a comment

Choose a reason for hiding this comment

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

The documentation and help text is properly updated to reflect that only one -data option is allowed. In case of multiple the last one will be used. This fulfills the AC.

@SFJohnson24 SFJohnson24 merged commit 483305f into main Apr 8, 2026
10 of 11 checks passed
@SFJohnson24 SFJohnson24 deleted the 1669 branch April 8, 2026 18:05
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.

The engine v0.15 accepts multiple -d parameters but it appears to only process the last one

4 participants