Skip to content

Conversation

@prmukherj
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added the new feature Request or proposal for a new feature label Sep 17, 2025
Base automatically changed from maint/default_new_dm_api to main October 9, 2025 17:06
try:
child_obj = parent[name]
except TypeError:
child_obj = getattr(parent, name.split(":")[0])[name.split(":")[-1]]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
child_obj = getattr(parent, name.split(":")[0])[name.split(":")[-1]]
attr, *_, key = name.split(":")
child_obj = getattr(parent, attr)[key]

I think is a bit better and less nested

Comment on lines 130 to 134
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be required and it will mess with the type hints for the class, I've removed all of these in a separate PR

Comment on lines 51 to 52
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to add the type hint to the session_pure_meshing file here for a similar reason to my previous comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature Request or proposal for a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants