1from contextlib import contextmanager
2from functools import lru_cache
3from typing import Generator
4
5
6@lru_cache(maxsize=None)
7def slow_function(message, timeout):
8    """This function is slow."""
9    print(message)
10
11
12@contextmanager
13def feeling_good(x: int, y: int) -> Generator:
14    """You'll feel better in this context!"""
15    yield
16