We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BoundTemplate.uptodate
FileSystemLoader
FileSystemLoader's use of lambdas for uptodate callbacks is causing loaded templates to be unpickleable.
uptodate
AttributeError: Can't pickle local object 'FileSystemLoader.get_source.<locals>.<lambda>'
We can solve this using a simple function and functools.partial, instead of a lambda function.
functools.partial
The text was updated successfully, but these errors were encountered:
fb27696
Test async uptodate is pickleable too. See #107.
a90ceb8
No branches or pull requests
FileSystemLoader
's use of lambdas foruptodate
callbacks is causing loaded templates to be unpickleable.We can solve this using a simple function and
functools.partial
, instead of a lambda function.The text was updated successfully, but these errors were encountered: