This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ast | |
from typing import override | |
filename = "ex1.py" | |
content = open(filename).read() | |
tree = ast.parse(content) | |
MODULE_SCOPE = "module" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
flask.ext.cache before (assume using redis) | |
~~~~~~~~~~~~~~ | |
Adds support for caching before work | |
""" | |
import functools | |
import logging |