This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
2024-08-05 14:43:58 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
############
|
|
|
|
# ENV Vars #
|
|
|
|
############
|
|
|
|
|
|
|
|
# Imports
|
|
|
|
from tubot.static.abc import ENV
|
|
|
|
|
|
|
|
|
|
|
|
class PN_CACHE(ENV):
|
|
|
|
"""
|
|
|
|
Python Native Cache dir
|
|
|
|
"""
|
|
|
|
|
|
|
|
_name = "PN_CACHE"
|
|
|
|
DEFAULT = "/etc/tubot"
|
2024-08-05 18:21:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
class REDIS_HOST(ENV):
|
|
|
|
"""
|
|
|
|
Redis host adress
|
|
|
|
"""
|
|
|
|
|
|
|
|
_name = "REDIS_HOST"
|
|
|
|
DEFAULT = "localhost:6379"
|