Mezura / config /api_config.yaml
nmmursit's picture
initial commit
3232d64 verified
raw
history blame contribute delete
828 Bytes
# API Configuration
# This file contains API endpoints and other configuration settings.
# When endpoints change, you can update this file to use new endpoints without changing your code.
# API configuration for each evaluation type
# API configuration for each evaluation type
apis:
# Airflow configuration
airflow:
# base_url is now loaded from the AIRFLOW_URL environment variable
base_url: "${AIRFLOW_URL}"
timeout: 300
retry_attempts: 3
auth:
type: "basic"
# Credentials will be loaded from environment variables
use_env: true
env_username: "MEZURA_API_USERNAME"
env_password: "MEZURA_API_PASSWORD"
# General configuration
default:
timeout: 300
retry_attempts: 3
log_level: "INFO"
headers:
accept: "application/json"
content-type: "application/json"