Closed Terrance closed 3 years ago
Thanks a lot! You're absolutely right. I'll look at it in detail and merge your PR later. So please wait for a while.
Any chance we can get a new release with this fix in? 🙂
Sorry to late response. I've just released the 0.11.1 contains this fix.
The documentation describes the
ac_template
parameter as boolean, but the underlyingload()
function tests forac_template is not None
, meaningFalse
is ignored and files are always parsed as templates.This updates the check to a truthy one, along with making the type annotations and default arguments match the documented API.