Skip to content

feat: add parameter set to lib#644

Merged
koubaa merged 5 commits into
mainfrom
process-parameters
Jan 2, 2025
Merged

feat: add parameter set to lib#644
koubaa merged 5 commits into
mainfrom
process-parameters

Conversation

@koubaa

@koubaa koubaa commented Jan 2, 2025

Copy link
Copy Markdown
Collaborator

Begin on #641

Support for parameters is added to some card types. It is still the responsibility of the user to assign parameter values. That is, the loader does not automatically process *PARAMETER keywords and fill the parameters.

See the changes in tests/test_deck.py for an example of how to use this.

In the future, we will automatically process parameters in decks.

@koubaa koubaa requested a review from a team as a code owner January 2, 2025 17:36
@github-actions github-actions Bot added documentation Improvements or additions to documentation testing Anything related to testing labels Jan 2, 2025
@koubaa koubaa changed the title add parameter set to lib feat: add parameter set to lib Jan 2, 2025
@koubaa koubaa merged commit 253cbef into main Jan 2, 2025
@koubaa koubaa deleted the process-parameters branch January 2, 2025 18:09
@koubaa koubaa requested a review from ayush-kumar-423 January 2, 2025 18:09
@RaphaelHeiniger

Copy link
Copy Markdown
Collaborator

I don't see urgency for the functionality that the loader automatically processes *PARAMETER keywords and fills the parameters. I even think that most users parametrized their deck on purpose and want to keep their parametrized input deck. Sometimes the parameter file is even encrypted so the values of the parameters will not be accessible. If such an automatization is implemented we would definitely need an option to activate or deactivate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation testing Anything related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants