-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
22 lines (20 loc) · 926 Bytes
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import os
from pydantic_settings import BaseSettings
class Setting(BaseSettings):
name: str = str(os.environ.get("APP_NAME", "RDFConverter"))
contact_name: str = str(os.environ.get("ADMIN_NAME", "Thomas Hanke"))
admin_email: str = str(
os.environ.get("ADMIN_MAIL", "[email protected]")
)
items_per_user: int = 50
version: str = str(os.environ.get("APP_VERSION", "v1.1.5"))
config_name: str = str(os.environ.get("APP_MODE", "development"))
openapi_url: str = "/api/openapi.json"
docs_url: str = "/api/docs"
source: str = str(
os.environ.get("APP_SOURCE", "https://github.com/Mat-O-Lab/RDFConverter")
)
desc: str = (
"A service for joining and converting meta data documents based on YARRRML mapping files to RDF, optionally a validiation can be conducted using SHACL Shapes."
)
org_site: str = "https://mat-o-lab.github.io/OrgSite"