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

feat(python): add filter for test value #165

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

dorotaphanSiili
Copy link
Collaborator

adds a filter which, for simple types sets some value that is different than the default value.
For enum it returns the second value (if present).
For the arrays it returns an element of that type
For structs it returns the default value.
This is used by a python template for #35 ticket

Closes #

📑 Description

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

adds a filter which, for simple types sets some value that is different
than the default value.
For enum it returns te second value (if present).
For the arrays it returns an element of that type
For structs it returns the default value.
This is used by a python template for #35 ticket
@dorotaphanSiili dorotaphanSiili merged commit 4f39064 into main Sep 20, 2024
1 check passed
@dorotaphanSiili dorotaphanSiili deleted the dphan/python-tests branch September 20, 2024 07:10
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.

2 participants