Return `!True` if the psycopg libpq wrapper supports pipeline mode.
(cls)
| 59 | |
| 60 | @classmethod |
| 61 | def is_supported(cls) -> bool: |
| 62 | """Return `!True` if the psycopg libpq wrapper supports pipeline mode.""" |
| 63 | return capabilities.has_pipeline() |
| 64 | |
| 65 | def _enter_gen(self) -> PQGen[None]: |
| 66 | capabilities.has_pipeline(check=True) |