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

Error with simple conditions when a field is written in pascalCase/CamelCase #31

Closed
HugoPerrier opened this issue Aug 5, 2024 · 1 comment · Fixed by #32
Closed
Labels
bug Something isn't working

Comments

@HugoPerrier
Copy link
Collaborator

Ex:
simple_condition: input.pascalCaseVariable=="TEST"

Error:
arta.exceptions.ConditionExecutionError: Error while executing condition 'input.pascalCaseVariable=="TEST"': "Could not find path 'pascal' in the input data: 'code'"

@HugoPerrier
Copy link
Collaborator Author

Need to add capital letters in the regex

data_path_patt: str = r"(?:input\.|output\.)(?:[a-z_\.]*)"

@HugoPerrier HugoPerrier added the bug Something isn't working label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant