Update the config class for the dots bot api.

main
KKlochko 2 years ago
parent 32aa9f3225
commit 3bb09413b1

@ -1,5 +1,10 @@
from environs import Env
env = Env()
env.read_env()
class DotsBotApiConfig():
_base_url = "https://domain"
_base_url = env('BOT_API_BASE_URL')
def __str__(self) -> str:
return f"{self._base_url=}"

Loading…
Cancel
Save