_loader/loader.py: Reoganized public/private methods
Placing this change ahead of both junction/loader related branches, this is a simple API fix and minor reorganization of the loader code to better reflect what is public and what is private, however both branches !1901 (merged) and !1935 (merged) depend on this change.
-
This file had
clean_caches()
documented as public but the function was actually private_clean_caches()
: Moved this to the end of the class in the private section. -
The
_get_loader()
was marked as private but is in fact public, and used by the project to load cross junction include files.
This patch also updates _includes.py
to call the public get_loader()
method instead of sneaking in and calling the private _get_loader()
method
(while also removing one redundant line of code from the same function).