You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.
The idea being that maintaining all is annoying, so why not automate it?
It would need to be a part of __getattr__. That probably means implementing a fall_through argument so that you can stack __getattr__ functions (e.g. this with lazy_import().
The text was updated successfully, but these errors were encountered:
Another option to a fall_through argument is to simply provide a generic AttributeError constructing function and then a helper function that simply chained together calls when AttributeError was raised. It would probably require setting an attribute attribute in order to help prevent accidental suppression of a different AttributeError.
The idea being that maintaining all is annoying, so why not automate it?
It would need to be a part of
__getattr__
. That probably means implementing afall_through
argument so that you can stack__getattr__
functions (e.g. this withlazy_import()
.The text was updated successfully, but these errors were encountered: