14 lines
363 B
Python
14 lines
363 B
Python
from typing import List
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Config(BaseSettings):
|
|
admin_token: str
|
|
secret_key: str
|
|
ride2go_query_data: str
|
|
env: str = 'DEV'
|
|
graphhopper_base_url: str = 'https://api.mfdz.de/gh'
|
|
stop_sources_file: str = 'conf/stop_sources.json'
|
|
|
|
config = Config(_env_file='config', _env_file_encoding='utf-8')
|