12 lines
194 B
Python
12 lines
194 B
Python
|
import uuid
|
||
|
from os.path import abspath
|
||
|
|
||
|
from config import Config
|
||
|
|
||
|
|
||
|
def random_cache_path():
|
||
|
return abspath(f'{Config("cache_path")}/{str(uuid.uuid4())}')
|
||
|
|
||
|
|
||
|
__all__ = ['random_cache_path']
|