MCPcopy
hub / github.com/psycopg/psycopg / Template

Class Template

psycopg/psycopg/_compat.py:38–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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:

Callers 2

joinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected