Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use mako's TemplateLookup rather than custom code
Related to race-condition observed w/ python3.11, see: sqlalchemy/mako#378 This will likely not fully solve race-conditions, as those also occur between rendering from passed string and from file if called concurrently. However, using lookup from mako consistently is closer to how Mako is intended to be used + there seems to be synchronisation between lookup-calls at least, which should reduce the frequency of concurrency issues.
- Loading branch information