netherframe.backends.postgresql 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. netherframe/backends/postgresql/__init__.py +59 -0
  2. netherframe/backends/postgresql/connection_settings.py +40 -0
  3. netherframe/backends/postgresql/graph.py +2511 -0
  4. netherframe/backends/postgresql/graph_authorization.py +102 -0
  5. netherframe/backends/postgresql/graph_checkpoints.py +239 -0
  6. netherframe/backends/postgresql/graph_completion.py +66 -0
  7. netherframe/backends/postgresql/graph_convergence.py +103 -0
  8. netherframe/backends/postgresql/graph_invalidation.py +115 -0
  9. netherframe/backends/postgresql/graph_lease_queue.py +236 -0
  10. netherframe/backends/postgresql/graph_planning_reads.py +97 -0
  11. netherframe/backends/postgresql/graph_publication.py +373 -0
  12. netherframe/backends/postgresql/graph_retention.py +141 -0
  13. netherframe/backends/postgresql/graph_reverse_edges.py +143 -0
  14. netherframe/backends/postgresql/graph_schema.py +2038 -0
  15. netherframe/backends/postgresql/graph_transfers.py +128 -0
  16. netherframe/backends/postgresql/postgresql.py +1207 -0
  17. netherframe/backends/postgresql/postgresql_backend_bootstrap.py +139 -0
  18. netherframe/backends/postgresql/py.typed +0 -0
  19. netherframe_backends_postgresql-0.2.1.dist-info/METADATA +138 -0
  20. netherframe_backends_postgresql-0.2.1.dist-info/RECORD +40 -0
  21. netherframe_backends_postgresql-0.2.1.dist-info/WHEEL +4 -0
  22. netherframe_backends_postgresql-0.2.1.dist-info/licenses/LICENSE +21 -0
  23. nf/backends/postgresql/__init__.py +4 -0
  24. nf/backends/postgresql/connection_settings.py +4 -0
  25. nf/backends/postgresql/graph.py +4 -0
  26. nf/backends/postgresql/graph_authorization.py +4 -0
  27. nf/backends/postgresql/graph_checkpoints.py +4 -0
  28. nf/backends/postgresql/graph_completion.py +4 -0
  29. nf/backends/postgresql/graph_convergence.py +4 -0
  30. nf/backends/postgresql/graph_invalidation.py +4 -0
  31. nf/backends/postgresql/graph_lease_queue.py +4 -0
  32. nf/backends/postgresql/graph_planning_reads.py +4 -0
  33. nf/backends/postgresql/graph_publication.py +4 -0
  34. nf/backends/postgresql/graph_retention.py +4 -0
  35. nf/backends/postgresql/graph_reverse_edges.py +4 -0
  36. nf/backends/postgresql/graph_schema.py +4 -0
  37. nf/backends/postgresql/graph_transfers.py +4 -0
  38. nf/backends/postgresql/postgresql.py +4 -0
  39. nf/backends/postgresql/postgresql_backend_bootstrap.py +4 -0
  40. nf/backends/postgresql/py.typed +0 -0
@@ -0,0 +1,139 @@
1
+ """PostgreSQL backend bootstrapping implementation."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import ssl
6
+ from dataclasses import dataclass
7
+ from typing import Any
8
+
9
+ import anyio
10
+
11
+ from netherframe.core.backends.backend_bootstrap import BackendBootstrapper, BackendResources
12
+ from netherframe.core.logging import get_logger
13
+
14
+ from .postgresql import PostgreSQLBackend
15
+
16
+ logger = get_logger(__name__)
17
+
18
+
19
+ @dataclass
20
+ class PostgreSQLBackendResources(BackendResources):
21
+ """PostgreSQL backend resources information."""
22
+
23
+ schema: str | None = None
24
+ table_prefix: str | None = None
25
+ state_id: str | None = None
26
+
27
+
28
+ class PostgreSQLBackendBootstrapper(BackendBootstrapper):
29
+ """Bootstrap PostgreSQL backend resources (schema + tables)."""
30
+
31
+ def __init__(
32
+ self,
33
+ *,
34
+ host: str,
35
+ port: int,
36
+ database: str,
37
+ username: str,
38
+ password: str,
39
+ schema: str = "public",
40
+ table_prefix: str = "nf_",
41
+ state_id: str = "default",
42
+ ssl_mode: str = "prefer",
43
+ ssl_cert: str | None = None,
44
+ ssl_key: str | None = None,
45
+ ssl_ca: str | None = None,
46
+ create_schema: bool = True,
47
+ ) -> None:
48
+ self.host = host
49
+ self.port = port
50
+ self.database = database
51
+ self.username = username
52
+ self.password = password
53
+ self.schema = schema
54
+ self.table_prefix = table_prefix
55
+ self.state_id = state_id
56
+ self.ssl_mode = ssl_mode
57
+ self.ssl_cert = ssl_cert
58
+ self.ssl_key = ssl_key
59
+ self.ssl_ca = ssl_ca
60
+ self.create_schema = create_schema
61
+ self._resources = PostgreSQLBackendResources()
62
+
63
+ def _ssl_context(self) -> ssl.SSLContext | None:
64
+ if self.ssl_mode in {"disable", "allow", "prefer"}:
65
+ return None
66
+ context = ssl.create_default_context()
67
+ if self.ssl_ca:
68
+ context.load_verify_locations(self.ssl_ca)
69
+ if self.ssl_cert and self.ssl_key:
70
+ context.load_cert_chain(self.ssl_cert, self.ssl_key)
71
+ return context
72
+
73
+ async def _connect(self) -> Any:
74
+ import asyncpg
75
+
76
+ return await asyncpg.connect(
77
+ host=self.host,
78
+ port=self.port,
79
+ database=self.database,
80
+ user=self.username,
81
+ password=self.password,
82
+ ssl=self._ssl_context() or (self.ssl_mode not in {"disable"}),
83
+ )
84
+
85
+ async def _validate_async(self) -> bool:
86
+ conn = await self._connect()
87
+ try:
88
+ await conn.execute(
89
+ f"SELECT 1 FROM {self.schema}.{self.table_prefix}states LIMIT 1",
90
+ )
91
+ await conn.execute(
92
+ f"SELECT 1 FROM {self.schema}.{self.table_prefix}locks LIMIT 1",
93
+ )
94
+ return True
95
+ except Exception:
96
+ return False
97
+ finally:
98
+ await conn.close()
99
+
100
+ async def _bootstrap_async(self) -> None:
101
+ conn = await self._connect()
102
+ try:
103
+ if self.create_schema and self.schema != "public":
104
+ await conn.execute(f"CREATE SCHEMA IF NOT EXISTS {self.schema}")
105
+
106
+ schema_sql = PostgreSQLBackend.SCHEMA_SQL.format(
107
+ schema=self.schema,
108
+ prefix=self.table_prefix,
109
+ )
110
+ await conn.execute(schema_sql)
111
+
112
+ await conn.execute(
113
+ f"""
114
+ INSERT INTO {self.schema}.{self.table_prefix}states (state_id, state_data)
115
+ VALUES ($1, $2)
116
+ ON CONFLICT (state_id) DO NOTHING
117
+ """,
118
+ self.state_id,
119
+ "{}",
120
+ )
121
+ finally:
122
+ await conn.close()
123
+
124
+ def validate(self) -> bool:
125
+ """Validate that required tables exist."""
126
+ return anyio.run(self._validate_async)
127
+
128
+ def bootstrap(self) -> PostgreSQLBackendResources:
129
+ """Create schema and tables if missing."""
130
+ logger.info(
131
+ "Bootstrapping PostgreSQL backend schema %s with prefix %s",
132
+ self.schema,
133
+ self.table_prefix,
134
+ )
135
+ anyio.run(self._bootstrap_async)
136
+ self._resources.schema = self.schema
137
+ self._resources.table_prefix = self.table_prefix
138
+ self._resources.state_id = self.state_id
139
+ return self._resources
File without changes
@@ -0,0 +1,138 @@
1
+ Metadata-Version: 2.4
2
+ Name: netherframe.backends.postgresql
3
+ Version: 0.2.1
4
+ Summary: PostgreSQL backend implementation for Netherframe
5
+ Author: Sourabh Cheedella
6
+ Author-email: Sourabh Cheedella <cheedella.sourabh@gmail.com>
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3.14
12
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
13
+ Classifier: Topic :: System :: Systems Administration
14
+ Requires-Dist: anyio>=4.16.0
15
+ Requires-Dist: netherframe-core>=0.10.0
16
+ Requires-Dist: asyncpg>=0.32.0
17
+ Requires-Dist: pytest>=9.2.0 ; extra == 'dev'
18
+ Requires-Dist: testcontainers>=4.15.0 ; extra == 'dev'
19
+ Requires-Python: >=3.14
20
+ Project-URL: Homepage, https://netherframe.arsenal.sh
21
+ Project-URL: Repository, https://github.com/arsenal-sh/netherframe
22
+ Provides-Extra: dev
23
+ Description-Content-Type: text/markdown
24
+
25
+ # Netherframe PostgreSQL Backend
26
+
27
+ PostgreSQL backend implementation for Netherframe: state in PostgreSQL, with a state lock and conditional writes for hybrid execution.
28
+
29
+ ## Features
30
+
31
+ - **PostgreSQL State Storage**: Store infrastructure state in PostgreSQL with JSONB columns for optimal querying
32
+ - **State Locking**: one lock per state (`state_id`), held by a hybrid run from planning through approval to the end of apply (see [Locking](#locking))
33
+ - **ACID Transactions**: Leverage PostgreSQL's ACID guarantees for state consistency
34
+ - **Connection Pooling**: Efficient connection management for high-performance operations
35
+ - **Hybrid Mode Support**: Works with both synthesis mode (Terraform) and hybrid execution mode
36
+ - **Conditional Writes**: a write replaces only the state version its run read (the state row is locked `FOR UPDATE` while compared and written)
37
+ - **Force-Unlock and Checkpoints**: a crashed run's lock is released by its ID (`nf state force-unlock`); pre-apply checkpoints are rows of their own
38
+
39
+ ## Installation
40
+
41
+ ```bash
42
+ pip install netherframe.backends.postgresql
43
+ ```
44
+
45
+ ## Configuration
46
+
47
+ ```python
48
+ from nf.backends.postgresql import PostgreSQLBackend
49
+
50
+ # Basic configuration
51
+ backend = PostgreSQLBackend(
52
+ nf_scope=stack,
53
+ host="localhost",
54
+ port=5432,
55
+ database="netherframe_state",
56
+ username="nf_user",
57
+ password="your_password",
58
+ )
59
+
60
+ # Advanced configuration with SSL and custom schema
61
+ backend = PostgreSQLBackend(
62
+ nf_scope=stack,
63
+ host="db.example.com",
64
+ port=5432,
65
+ database="infrastructure",
66
+ username="nf_user",
67
+ password="your_password",
68
+ schema="netherframe",
69
+ ssl_mode="require",
70
+ table_prefix="nf_",
71
+ pool_size=10,
72
+ max_overflow=20,
73
+ )
74
+ ```
75
+
76
+ ## Schema
77
+
78
+ The backend creates the following tables:
79
+
80
+ - `nf_states`: Main state storage with JSONB data
81
+ - `nf_locks`: State locks, one per `state_id`
82
+ - `nf_resource_locks`: Locks taken through the resource-lock API (see below); hybrid execution does not use them
83
+
84
+ ## Locking
85
+
86
+ Hybrid execution locks the whole state, as Terraform does; it does not lock
87
+ individual resources:
88
+
89
+ - `apply` takes the lock on its `state_id` before planning and holds it through
90
+ the approval prompt to the end of the apply; `plan` holds it while planning.
91
+ - A second run on the same state does not wait: it fails to take the lock
92
+ (`Failed to acquire state lock`) and logs who holds it. Concurrent applies on
93
+ one state are therefore serialized, never interleaved.
94
+ - Every state write is conditional: it replaces only the state version
95
+ (`serial` and `lineage`) the run read, with the row locked `FOR UPDATE` while
96
+ it is compared and written. A saved plan is rejected if state changed since it
97
+ was created.
98
+ - The lock expires `lock_timeout` seconds (default 300) after its holder last
99
+ renewed it; a running holder renews it in the background. `nf state
100
+ force-unlock` releases the lock of a crashed run at once.
101
+
102
+ Changes that must be applied independently, at the same time, need separate
103
+ states: give each independently deployed app its own `state_id`.
104
+
105
+ ### Resource-Lock API
106
+
107
+ The backend also has `acquire_resource_lock`, `release_resource_lock`,
108
+ `release_all_resource_locks` and `resource_lock_context`: shared and exclusive
109
+ locks on a resource id, with timeouts, stored in `nf_resource_locks` (see
110
+ `example_usage.py`). Netherframe's hybrid execution never calls them, and they
111
+ do not let two runs apply to one state at once. They are only useful to
112
+ coordinate your own tooling.
113
+
114
+ ## Settings
115
+
116
+ Each connection setting is a flag of `nf`, else a key of `[tool.nf.config]` in
117
+ `pyproject.toml`, else the backend's argument, else the default. Nothing is read from the
118
+ environment.
119
+
120
+ - `--postgresql-host` / `postgresql_host`: Database host (default: localhost)
121
+ - `--postgresql-port` / `postgresql_port`: Database port (default: 5432)
122
+ - `--postgresql-database` / `postgresql_database`: Database name
123
+ - `--postgresql-username` / `postgresql_username`: Database username
124
+ - `--postgresql-ssl-mode` / `postgresql_ssl_mode`: SSL mode (disable, allow, prefer, require, verify-ca, verify-full)
125
+ - `--postgresql-password-file` / `postgresql_password_file`: File holding the database password
126
+ (a mounted secret). The password is never a flag. In code, `PostgreSQLBackend` also takes
127
+ `password=`, and `PostgreSQLGraphBackend` takes `password_file=` or `password_source=` (a
128
+ callable).
129
+
130
+ ```toml
131
+ [tool.nf.config]
132
+ postgresql_host = "db.internal"
133
+ postgresql_database = "netherframe"
134
+ postgresql_username = "nf_apply"
135
+ postgresql_password_file = "/run/secrets/postgresql-password"
136
+ ```
137
+
138
+ See the [Settings reference](../../docs/reference/settings.md).
@@ -0,0 +1,40 @@
1
+ netherframe/backends/postgresql/__init__.py,sha256=y-E_GApyUMOliUwByVqkPxg6sSV2skQtblnbIeM0BTU,1754
2
+ netherframe/backends/postgresql/connection_settings.py,sha256=PaNPddr1y6-J8paAMdxcFAC7eg3qSrI0ArA-DqTQ6OE,1763
3
+ netherframe/backends/postgresql/graph.py,sha256=_7k3kvDj1WzXWNb_fcd0G8T-hqUii0sOR0gT5OUqp-Q,159621
4
+ netherframe/backends/postgresql/graph_authorization.py,sha256=GvI4wfPEJjUZce1PGvosHMrzCuhvdPCB2KhyCGCz-SY,6894
5
+ netherframe/backends/postgresql/graph_checkpoints.py,sha256=aeJ-PycybARHnR6V4T4Z2uxawVUCP5t1vJQ9GFG_jCw,14995
6
+ netherframe/backends/postgresql/graph_completion.py,sha256=hu_WATLi_sTsboIK2dm6C_6KWDlQoNDQWqQpE0OWkLI,3816
7
+ netherframe/backends/postgresql/graph_convergence.py,sha256=OZhV66G7X6rNsc4ED-gVtieKNvQiYQXyrHIqMBg1qlM,5850
8
+ netherframe/backends/postgresql/graph_invalidation.py,sha256=lehs3ybZIJvC59K6wxajoMhCV1vW_Qxwc05fqOGasqE,6170
9
+ netherframe/backends/postgresql/graph_lease_queue.py,sha256=ZoUWkmeJ-z9eN9F-_pDbxUH5bm0jO1tuqd747T7vYe4,15845
10
+ netherframe/backends/postgresql/graph_planning_reads.py,sha256=cYzZ5YKVN0WM5TzHaUYePODvc3B7UiUlUhufmKbrVsU,6841
11
+ netherframe/backends/postgresql/graph_publication.py,sha256=d2xo_BM4qGNPN1kyZ4c5oDQueFzFZGhNIDFfdqxwrtk,19325
12
+ netherframe/backends/postgresql/graph_retention.py,sha256=y_QbJHBmS9IEj5i0hr64y2G___rmWpU-kKPNHzcJEjg,8694
13
+ netherframe/backends/postgresql/graph_reverse_edges.py,sha256=ZaXjCO1eLg26FXGqGIlvpwUiiZPQWaeMG9TtvV66NjU,7793
14
+ netherframe/backends/postgresql/graph_schema.py,sha256=PWDkzoJx0AhMtU7PNTBd_X1LOoDe-0KnVkCipfHAG_8,103552
15
+ netherframe/backends/postgresql/graph_transfers.py,sha256=VmscoHehBl34qJSB4lEE4Km5clu5DulXAh1vxCik8IE,7892
16
+ netherframe/backends/postgresql/postgresql.py,sha256=5WdnUlvFyZLExBG1sx0OEJ0NbzokRsZspoJdfwqmMw0,50466
17
+ netherframe/backends/postgresql/postgresql_backend_bootstrap.py,sha256=W7FySouQ8YPCPyYz7uoNW-rFeZqdhkwrNIpEVUfHD6U,4294
18
+ netherframe/backends/postgresql/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ nf/backends/postgresql/__init__.py,sha256=p8IRBWORH_Kp6KIEornDLSQalJtOLz81Uq3H2Vf1iM8,259
20
+ nf/backends/postgresql/connection_settings.py,sha256=gxK7Uj2tW9kwI1vo8JAMb0pmpnuNx4uqSToBT6ZStOU,319
21
+ nf/backends/postgresql/graph.py,sha256=AR58hQ-MNTdiULfpfzPpeEo9ujztn8r9QYXboq6vq-o,277
22
+ nf/backends/postgresql/graph_authorization.py,sha256=BOm-4eEfrjtN9T95HpE8PNYf-jfk9wz9AKvVApYMBow,319
23
+ nf/backends/postgresql/graph_checkpoints.py,sha256=f7CxI2Qlw1tybBJ_aMoOJyi-gMfEgp_okr-bmrqs76g,313
24
+ nf/backends/postgresql/graph_completion.py,sha256=rsAzRrSnNHUyefUyo6EdkPusxoZ8RIgTpvWliyh5rhE,310
25
+ nf/backends/postgresql/graph_convergence.py,sha256=O-MR29G9EArbdjZO5TEwEJ9jrvMDesNB5EZdjj34R0Y,313
26
+ nf/backends/postgresql/graph_invalidation.py,sha256=F7Zqq-gO7KLQn2V87ECEEqON2iRsPVMIMPUi_L2WmQ4,316
27
+ nf/backends/postgresql/graph_lease_queue.py,sha256=8ZCJCCb346UG2p4UVQqX_5iao64LIdobSz8RcmjDYbE,313
28
+ nf/backends/postgresql/graph_planning_reads.py,sha256=Wq58SdcMu-DGr5D9iBHA2I0bODigpTk2kNje1JG4dlM,322
29
+ nf/backends/postgresql/graph_publication.py,sha256=CqOsCMu_LtNohkejj1lmQU1XuC50qsBA828Mzv8YogY,313
30
+ nf/backends/postgresql/graph_retention.py,sha256=E4XH7KjuTLbNR0k7otdlAHQfz7Fx6eJjwkUWurKrBK8,307
31
+ nf/backends/postgresql/graph_reverse_edges.py,sha256=8MXjCUTFxQ4Giz_1FjQMq5oENZ9EIGkXtXvD31MHq9A,319
32
+ nf/backends/postgresql/graph_schema.py,sha256=Fghx9D71B0r2cN_Sv3OAQhv4pqxkUc0CeSc0h_P3K38,298
33
+ nf/backends/postgresql/graph_transfers.py,sha256=I4b7-GDbsuUMMomMSqZdyp79CPCTFuPMuMFD-HmilSg,307
34
+ nf/backends/postgresql/postgresql.py,sha256=AUcBZfATJuV_YhOmE4ndMhn61_YPcyfZSKBR8UN_iGU,292
35
+ nf/backends/postgresql/postgresql_backend_bootstrap.py,sha256=n9jz0g0h_Lz4ylXhuZKLaR8OHvm9SJSv9c-kznZbt34,346
36
+ nf/backends/postgresql/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
+ netherframe_backends_postgresql-0.2.1.dist-info/licenses/LICENSE,sha256=CmCIBOHbWRqBeux1f3l5G7rXwtrrtVCZwymYiSoAYoE,1068
38
+ netherframe_backends_postgresql-0.2.1.dist-info/WHEEL,sha256=G_-rrEibZr7OEM7zdH1dSO6s-VdjfnS5PA4CLAdI9Vw,80
39
+ netherframe_backends_postgresql-0.2.1.dist-info/METADATA,sha256=cyLLJFJ-6iNDUTYTtCAVfNYcr9pXooaCd5k52X0c3oA,5579
40
+ netherframe_backends_postgresql-0.2.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.13.9
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Netherframe
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql``; at runtime it is ``netherframe.backends.postgresql`` itself."""
3
+
4
+ from netherframe.backends.postgresql import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.connection_settings``; at runtime it is ``netherframe.backends.postgresql.connection_settings`` itself."""
3
+
4
+ from netherframe.backends.postgresql.connection_settings import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph``; at runtime it is ``netherframe.backends.postgresql.graph`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_authorization``; at runtime it is ``netherframe.backends.postgresql.graph_authorization`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_authorization import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_checkpoints``; at runtime it is ``netherframe.backends.postgresql.graph_checkpoints`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_checkpoints import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_completion``; at runtime it is ``netherframe.backends.postgresql.graph_completion`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_completion import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_convergence``; at runtime it is ``netherframe.backends.postgresql.graph_convergence`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_convergence import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_invalidation``; at runtime it is ``netherframe.backends.postgresql.graph_invalidation`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_invalidation import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_lease_queue``; at runtime it is ``netherframe.backends.postgresql.graph_lease_queue`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_lease_queue import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_planning_reads``; at runtime it is ``netherframe.backends.postgresql.graph_planning_reads`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_planning_reads import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_publication``; at runtime it is ``netherframe.backends.postgresql.graph_publication`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_publication import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_retention``; at runtime it is ``netherframe.backends.postgresql.graph_retention`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_retention import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_reverse_edges``; at runtime it is ``netherframe.backends.postgresql.graph_reverse_edges`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_reverse_edges import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_schema``; at runtime it is ``netherframe.backends.postgresql.graph_schema`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_schema import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.graph_transfers``; at runtime it is ``netherframe.backends.postgresql.graph_transfers`` itself."""
3
+
4
+ from netherframe.backends.postgresql.graph_transfers import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.postgresql``; at runtime it is ``netherframe.backends.postgresql.postgresql`` itself."""
3
+
4
+ from netherframe.backends.postgresql.postgresql import * # noqa: F403
@@ -0,0 +1,4 @@
1
+ # Generated nf.* alias shim (netherframe.generation.nf_alias_shims); do not edit.
2
+ """Type-checker view of ``nf.backends.postgresql.postgresql_backend_bootstrap``; at runtime it is ``netherframe.backends.postgresql.postgresql_backend_bootstrap`` itself."""
3
+
4
+ from netherframe.backends.postgresql.postgresql_backend_bootstrap import * # noqa: F403
File without changes