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

String patterns do not appear in generated Python API and docs #651

Closed
ygorelik opened this issue Dec 13, 2017 · 1 comment
Closed

String patterns do not appear in generated Python API and docs #651

ygorelik opened this issue Dec 13, 2017 · 1 comment

Comments

@ygorelik
Copy link
Collaborator

Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.

Expected Behavior

When string type is used and special pattern for the leaf is defined, it is expected for the pattern to appear in generated Python API and documentation web pages. It is especially needed when type is a union on subtypes, which are strings of different formats.

Current Behavior

The string patterns do not appear in generated Python API and documentation web pages.

Steps to Reproduce

Check generated API *.py files for presence of keyword 'pattern. Currently missing.

Your Script


Logs

Enable logging and post the logs below


System Information

@ygorelik
Copy link
Collaborator Author

Fixed issues #642 and #651.
Affected files:
/ydk-gen/ydkgen/printer/meta_data_util.py

ygorelik pushed a commit to ygorelik/ydk-gen that referenced this issue Dec 14, 2017
ghost pushed a commit that referenced this issue Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant