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

fix: Fix set_state issue with inactive children #3311

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

mkundu1
Copy link
Contributor

@mkundu1 mkundu1 commented Sep 23, 2024

The _unalias method has been recently made an instance-method from classmethod to access the parent of an object (for supporting ".."). But, this has caused an issue while traversing the child hierarchy when some children are inactive during set_state. In this PR, I'm accessing children using base class' __getattribute__. The object level __getattribute__ is still required to access aliased-child.

I will patch the _unalias function on the Fluent side to fix this error in the current commonfiles' PyFluent.

@mkundu1 mkundu1 marked this pull request as ready for review September 23, 2024 14:30
@mkundu1 mkundu1 merged commit a213d62 into main Sep 23, 2024
26 checks passed
@mkundu1 mkundu1 deleted the fix/alias-inactive branch September 23, 2024 18:06
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.

3 participants