Add example projects
This commit is contained in:
14
examples/complex_project/config.py
Normal file
14
examples/complex_project/config.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
Application configuration.
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass
|
||||
class AppConfig:
|
||||
"""Application configuration."""
|
||||
debug: bool = False
|
||||
max_retries: int = 3
|
||||
timeout: int = 30
|
||||
api_url: str = "https://api.example.com"
|
||||
Reference in New Issue
Block a user