Skip to content

Enhancement props setters and getters #939

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

Merged
merged 15 commits into from
Mar 11, 2022
Merged

Conversation

maxcapodi78
Copy link
Collaborator

All objects created and returned by pyaedt (setup, mesh, boundaries) return an object containing a dictionary named props.
Till now user that want to change an object in AEDT needs to do
object.props["propertyname"] = property_value
object.update()

From now on the props will be an automatic getter and setter for the property

@codecov
Copy link

codecov bot commented Mar 10, 2022

Codecov Report

Merging #939 (2620f8e) into main (6d9ab07) will increase coverage by 0.05%.
The diff coverage is 85.96%.

@@            Coverage Diff             @@
##             main     #939      +/-   ##
==========================================
+ Coverage   80.20%   80.26%   +0.05%     
==========================================
  Files         128      128              
  Lines       37419    37623     +204     
==========================================
+ Hits        30013    30197     +184     
- Misses       7406     7426      +20     

@maxcapodi78 maxcapodi78 merged commit 71df885 into main Mar 11, 2022
@maxcapodi78 maxcapodi78 deleted the enhancement_props_setters branch March 11, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants