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 dynamic load members #309

Merged
merged 3 commits into from
Dec 1, 2023
Merged

Fix dynamic load members #309

merged 3 commits into from
Dec 1, 2023

Conversation

machow
Copy link
Owner

@machow machow commented Nov 27, 2023

This PR addresses #307, by ensuring we can (again) dynamically load value-less attributes off of classes and modules.

It contains additional tests for

  • _canonical_path() - the function that attempts to go from <some_object> -> its canonical path (i.e. the submodule in which it is defined)
  • get_object(..., dynamic=True) for more cases

See also #308 for a proposal to improve how we get docstrings for instances.

@machow machow merged commit 20efef6 into main Dec 1, 2023
6 checks passed
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.

1 participant