Single runtime flow context.
| 37 | |
| 38 | @dataclass(frozen=True) |
| 39 | class FlowRun: |
| 40 | """Single runtime flow context.""" |
| 41 | |
| 42 | run_id: str |
| 43 | account_id: str |
| 44 | action: str |
| 45 | source: str = "" |
| 46 | product_id: str = "" |
| 47 | pay_type: str = "" |
| 48 | started_at: str = field(default_factory=lambda: datetime.now().astimezone().isoformat(timespec="seconds")) |
| 49 | |
| 50 | |
| 51 | def configure_logging(settings: Settings | None = None) -> Path: |
no outgoing calls
no test coverage detected