-
Notifications
You must be signed in to change notification settings - Fork 74
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
List key with embedded quote causes error #786
Comments
Problem also exists with embedded slash inside key value |
The below test case needs to be fixed:
|
Fixed the issue in C++, Python, and Go. The solution includes smart calculation of key tokens for segment_path values. By default the single quote symbol is used to enclose key value. But when the key value includes single quote characters, the double quotes characters are used to enclose key value.
''' The solution changes affects YDK core and generated bundles code. The user API is not affected. |
Refactored code for Python API to avoid changes in generated bundle code. All tests passed. |
Current Behavior
The below code causes error
Steps to Reproduce
Run the below script
Your Script
The text was updated successfully, but these errors were encountered: