Name |
Last commit
|
Last update |
---|---|---|
.. | ||
cloudcode | ||
__init__.py | ||
connection.py | ||
core.py | ||
datatypes.py | ||
installation.py | ||
query.py | ||
tests.py | ||
user.py |
In __getattr__ we check to see if the object has been lazy loaded or not before we try to do attribute lookups. However, once the attributes have been loaded, we never record that. So this changes _init_attrs, which actually does the loading, to record that it's done so. This change took a loop I had that was taking 8-10s to finish down to .5-1s.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
cloudcode | Loading commit data... | |
__init__.py | Loading commit data... | |
connection.py | Loading commit data... | |
core.py | Loading commit data... | |
datatypes.py | Loading commit data... | |
installation.py | Loading commit data... | |
query.py | Loading commit data... | |
tests.py | Loading commit data... | |
user.py | Loading commit data... |