-
Notifications
You must be signed in to change notification settings - Fork 76
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
Parse parameters metadata and expose them in Python #681
Merged
+141
−44
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
7d032eb
Parse unit and reference for parameters
fpagnoux c5f5fd4
Parse unit and reference for ParameterAtInstant
fpagnoux 4a70d6a
Sort children values in Parameter.__repr__
fpagnoux 26750dd
Remove warning in tests
fpagnoux f0e4edd
Inherit unit from Parameter to ParameterAtInstant
fpagnoux 31781dc
Parse node metadata
fpagnoux 4705ffa
Make reference a list (like with variables)
fpagnoux 2cba8c4
Add metadata for scales
fpagnoux 93266fc
Bump version number
fpagnoux 0ac2b39
Check metadata in index.yaml
fpagnoux 5d9a3dd
Rename item_to_list to wrap
fpagnoux 738936c
Use examples from country template
fpagnoux 76fe026
Introduce parameter.metadata
fpagnoux f797d26
Update Changelog
fpagnoux 6ddd606
Do not wrap references
fpagnoux c9f731f
Don't use an abstract class just to share 2 func
fpagnoux 032675b
Use - as separator to avoid confusion with objects
fpagnoux 1e903e6
Explicit simplified param declaration processing
fpagnoux fbd8fb6
Fix indentation of FB usage in circle conf
fpagnoux f292bf6
Upgrade country template
fpagnoux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Would it be interesting to give an example with several references ?
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.
What would such an example illustrate?
Right now the metadata are just a pass-trough, and core has no opinion about the content of this
reference
, so I'm not sure about the value of making the changelog more complex by adding an other slightly different example.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.
I was asking because it was the first thing that came into my mind when I saw the singular
reference
and that there was only one reference :)It might just be a worry I have :)
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.
Yep, we should keep that in mind.