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
Makes sense, generally. What do you mean with "making JINJA_CONFIG optionally callable"? doesn't it already have to be a callable for tower to work? If anything, the syntax where JINJA_CONFIG isn't a callable doesn't currently work. Right?
For example JINGO_CONFIG = dict() is valid for jingo, since jingo checks to see if JINGO_CONFIG is just a setting or a callable, if it's a callable it calls it.
We could use that same logic.
But I think also the idea of using some sensible defaults makes sense. We should see what those coffin folks do.
I don't think Jingo is entirely required, but things like calling JINJA_CONFIG() make that hard... not sure what the best solution here is.
For a starter making JINJA_CONFIG optionally callable might be nice.
The text was updated successfully, but these errors were encountered: