mirror of
https://github.com/correl/openapi-core.git
synced 2025-01-01 11:03:19 +00:00
14 lines
346 B
Python
14 lines
346 B
Python
import functools
|
|
try:
|
|
from functools import lru_cache
|
|
|
|
except ImportError:
|
|
from backports.functools_lru_cache import lru_cache
|
|
functools.lru_cache = lru_cache
|
|
|
|
try:
|
|
from functools import partialmethod
|
|
|
|
except ImportError:
|
|
from backports.functools_partialmethod import partialmethod
|
|
functools.partialmethod = partialmethod
|