diff options
| author | Max Nanis | 2026-09-01 10:43:29 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-01 10:43:29 -0700 |
| commit | 89ed44f466dc9a93d6f85931fb6eea0e9cbd27f6 (patch) | |
| tree | 8bcce59aa74271e38f056c954ee3e8457dae241a /tests/test_postgres.py | |
| parent | d19438ec4ccbbe4415c286c9ae89e3e5706ac553 (diff) | |
| download | generalresearch-89ed44f466dc9a93d6f85931fb6eea0e9cbd27f6.tar.gz generalresearch-89ed44f466dc9a93d6f85931fb6eea0e9cbd27f6.zip | |
working through circular imports, removing __init__ loaded Types / Definitions
Diffstat (limited to 'tests/test_postgres.py')
| -rw-r--r-- | tests/test_postgres.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_postgres.py b/tests/test_postgres.py index ed5a7ae..c53f644 100644 --- a/tests/test_postgres.py +++ b/tests/test_postgres.py @@ -1,12 +1,15 @@ import socket import subprocess from collections.abc import Callable +from typing import TYPE_CHECKING from pydantic import PostgresDsn -from generalresearch.models.custom_types import InternalHostname, PostgresDict from generalresearch.pg_helper import PostgresConfig +if TYPE_CHECKING: + from generalresearch.models.custom_types import InternalHostname, PostgresDict + def is_port_open(host: InternalHostname, port: int = 5432, timeout: int = 3): try: |
