-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix sharing app instances, clarify contract #784
Conversation
…s/pymechanical into fix-building-gallery-scopes
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #784 +/- ##
==========================================
- Coverage 81.30% 81.00% -0.31%
==========================================
Files 32 32
Lines 2065 2074 +9
==========================================
+ Hits 1679 1680 +1
- Misses 386 394 +8 |
@@ -297,8 +297,8 @@ def _share(self, other) -> None: | |||
they all point to the same underlying application | |||
object. Because of that, special care needs to be | |||
taken to properly share the state. Other will be |
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.
they all point to the same underlying application object. As a result, you need to be careful to properly share the state.
Tested with embedded examples - ansys/pymechanical-embedding-examples#203