-
Notifications
You must be signed in to change notification settings - Fork 2
Documentation extended: Python inline code #460
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
Documentation extended: Python inline code #460
Conversation
HolQue
commented
Jul 25, 2025
- Also JsonPreprocessor version number increased
- History and release info updated
- PR includes Added inline Python code self test "JPP_2100" #458
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR extends documentation for Python inline code functionality in the JsonPreprocessor, along with version updates and test additions. The changes focus on documenting the new <<eval>> syntax that allows Python expressions to be evaluated within JSONP files.
- Added comprehensive documentation for Python inline code feature in LaTeX format
- Created new test case (JPP_2100) to validate Python inline code functionality
- Updated version numbers and release information across multiple files
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| test/testfiles/jpp-test_config_2100.jsonp | New test configuration file demonstrating Python inline code usage |
| test/testconfig/TestConfig.py | Added test case definition for JPP_2100 with expected results |
| test/pytest/pytestfiles/test_27_INLINE_CODE_GOODCASE.py | New pytest file for inline code good case testing |
| test/component_test.py | Updated version from 0.60.0 to 0.61.0 |
| test/JPP_TestUsecases.txt | Added JPP_2100 test case description |
| test/JPP_TestUsecases.rst | Added formatted test case documentation |
| test/JPP_TestUsecases.html | Added HTML formatted test case entry |
| test/JPP_TestUsecases.csv | Added CSV entry for new test case |
| packagedoc/additional_docs/The JSONP format.tex | Added comprehensive documentation section for Python inline code |
| packagedoc/additional_docs/History.tex | Added version 0.10.0 history entry |
| config/robotframework_aio/release_items_JsonPreprocessor.json | Added release notes for Python inline code feature |
| JsonPreprocessor/version.py | Updated version from 0.9.3 to 0.10.0 |
| @@ -0,0 +1,40 @@ | |||
| # ************************************************************************************************************** | |||
| # Copyright 2020-2023 Robert Bosch GmbH | |||
Copilot
AI
Jul 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright year range should be updated to 2020-2025 to match other files in the PR.
| # Copyright 2020-2023 Robert Bosch GmbH | |
| # Copyright 2020-2025 Robert Bosch GmbH |
| VERSION = "0.9.3" | ||
| VERSION_DATE = "3.7.2025" | ||
| VERSION = "0.10.0" | ||
| VERSION_DATE = "25.07.2025" |
Copilot
AI
Jul 25, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version date (25.07.2025) is inconsistent with other files in this PR which use 18.07.2025. Consider using a consistent date across all version updates.
| VERSION_DATE = "25.07.2025" | |
| VERSION_DATE = "18.07.2025" |