-
Notifications
You must be signed in to change notification settings - Fork 1
Add a feature tree #821
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
base: main
Are you sure you want to change the base?
Add a feature tree #821
Conversation
'P1__ModelingPly.1' | ||
Analysis Plies | ||
'P1L1__ModelingPly.1' | ||
└── 'ACP Model' |
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.
This is a change in behavior of the existing print_model
method (added lines to the output).
We could avoid it by setting show_lines
to False
by default. However:
- the change is relatively minor + easily reverted by passing
show_lines=False
- (to my eye) the version with lines looks easier to parse
What's your take on this?
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.
Fine with me. The lines help to read the data.
6aac8e5
to
0ad99e2
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #821 +/- ##
==========================================
+ Coverage 94.91% 94.92% +0.01%
==========================================
Files 109 110 +1
Lines 5737 5771 +34
Branches 328 333 +5
==========================================
+ Hits 5445 5478 +33
- Misses 291 292 +1
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e4284bc
to
b5e0642
Compare
The |
@@ -1,11 +0,0 @@ | |||
Example helpers |
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.
Moved to extras.rst
.
b5e0642
to
1897f3f
Compare
Add helper functions to either print a tree of ACP objects, or print it. In the documentation, show the tree structure, and explain how it affects the access and creation of objects. To implement the feature tree, record metadata when creating mapping properties (value type, and read-only status), and use a separate _exposed_grpc_property subclass to indicate it is a mapping.
1897f3f
to
023b59b
Compare
Add helper functions to either print a tree of ACP objects, or
print it. In the documentation, show the tree structure, and
explain how it affects the access and creation of objects.
To implement the feature tree, record metadata when creating
mapping properties (value type, and read-only status), and use
a separate _exposed_grpc_property subclass to indicate it is
a mapping.
Other changes:
connecting the nodes
25R2 hardening item 11.