| 36 | from dataclasses import dataclass |
| 37 | |
| 38 | class Template: |
| 39 | strings: tuple[str] |
| 40 | interpolations: tuple[Interpolation] |
| 41 | |
| 42 | def __new__(cls, *args: str | Interpolation) -> Self: |
| 43 | return cls() |
| 44 | |
| 45 | def __iter__(self) -> Iterator[str | Interpolation]: |
| 46 | return |
| 47 | yield |
| 48 | |
| 49 | @dataclass |
| 50 | class Interpolation: |
no outgoing calls
no test coverage detected