dagster-postgres 0.26.2__py3-none-any.whl → 0.26.4__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.
Potentially problematic release.
This version of dagster-postgres might be problematic. Click here for more details.
- dagster_postgres/event_log/event_log.py +4 -1
- dagster_postgres/run_storage/run_storage.py +4 -1
- dagster_postgres/schedule_storage/schedule_storage.py +4 -1
- dagster_postgres/version.py +1 -1
- {dagster_postgres-0.26.2.dist-info → dagster_postgres-0.26.4.dist-info}/METADATA +2 -2
- {dagster_postgres-0.26.2.dist-info → dagster_postgres-0.26.4.dist-info}/RECORD +9 -9
- {dagster_postgres-0.26.2.dist-info → dagster_postgres-0.26.4.dist-info}/LICENSE +0 -0
- {dagster_postgres-0.26.2.dist-info → dagster_postgres-0.26.4.dist-info}/WHEEL +0 -0
- {dagster_postgres-0.26.2.dist-info → dagster_postgres-0.26.4.dist-info}/top_level.txt +0 -0
|
@@ -112,12 +112,15 @@ class PostgresEventLogStorage(SqlEventLogStorage, ConfigurableClass):
|
|
|
112
112
|
SqlEventLogStorageMetadata.create_all(conn)
|
|
113
113
|
stamp_alembic_rev(pg_alembic_config(__file__), conn)
|
|
114
114
|
|
|
115
|
-
def optimize_for_webserver(
|
|
115
|
+
def optimize_for_webserver(
|
|
116
|
+
self, statement_timeout: int, pool_recycle: int, max_overflow: int
|
|
117
|
+
) -> None:
|
|
116
118
|
# When running in dagster-webserver, hold an open connection and set statement_timeout
|
|
117
119
|
kwargs = {
|
|
118
120
|
"isolation_level": "AUTOCOMMIT",
|
|
119
121
|
"pool_size": 1,
|
|
120
122
|
"pool_recycle": pool_recycle,
|
|
123
|
+
"max_overflow": max_overflow,
|
|
121
124
|
}
|
|
122
125
|
existing_options = self._engine.url.query.get("options")
|
|
123
126
|
if existing_options:
|
|
@@ -108,12 +108,15 @@ class PostgresRunStorage(SqlRunStorage, ConfigurableClass):
|
|
|
108
108
|
# This revision may be shared by any other dagster storage classes using the same DB
|
|
109
109
|
stamp_alembic_rev(pg_alembic_config(__file__), conn)
|
|
110
110
|
|
|
111
|
-
def optimize_for_webserver(
|
|
111
|
+
def optimize_for_webserver(
|
|
112
|
+
self, statement_timeout: int, pool_recycle: int, max_overflow: int
|
|
113
|
+
) -> None:
|
|
112
114
|
# When running in dagster-webserver, hold an open connection and set statement_timeout
|
|
113
115
|
kwargs = {
|
|
114
116
|
"isolation_level": "AUTOCOMMIT",
|
|
115
117
|
"pool_size": 1,
|
|
116
118
|
"pool_recycle": pool_recycle,
|
|
119
|
+
"max_overflow": max_overflow,
|
|
117
120
|
}
|
|
118
121
|
existing_options = self._engine.url.query.get("options")
|
|
119
122
|
if existing_options:
|
|
@@ -104,12 +104,15 @@ class PostgresScheduleStorage(SqlScheduleStorage, ConfigurableClass):
|
|
|
104
104
|
self.migrate()
|
|
105
105
|
self.optimize()
|
|
106
106
|
|
|
107
|
-
def optimize_for_webserver(
|
|
107
|
+
def optimize_for_webserver(
|
|
108
|
+
self, statement_timeout: int, pool_recycle: int, max_overflow: int
|
|
109
|
+
) -> None:
|
|
108
110
|
# When running in dagster-webserver, hold an open connection and set statement_timeout
|
|
109
111
|
kwargs = {
|
|
110
112
|
"isolation_level": "AUTOCOMMIT",
|
|
111
113
|
"pool_size": 1,
|
|
112
114
|
"pool_recycle": pool_recycle,
|
|
115
|
+
"max_overflow": max_overflow,
|
|
113
116
|
}
|
|
114
117
|
existing_options = self._engine.url.query.get("options")
|
|
115
118
|
if existing_options:
|
dagster_postgres/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.26.
|
|
1
|
+
__version__ = "0.26.4"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dagster-postgres
|
|
3
|
-
Version: 0.26.
|
|
3
|
+
Version: 0.26.4
|
|
4
4
|
Summary: A Dagster integration for postgres
|
|
5
5
|
Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-postgres
|
|
6
6
|
Author: Dagster Labs
|
|
@@ -14,6 +14,6 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Requires-Python: >=3.9,<3.13
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: dagster ==1.10.
|
|
17
|
+
Requires-Dist: dagster ==1.10.4
|
|
18
18
|
Requires-Dist: psycopg2-binary
|
|
19
19
|
|
|
@@ -2,16 +2,16 @@ dagster_postgres/__init__.py,sha256=h8rM1BA27G8jSAak_WnjfZ_dqyz79x9rfTeroUveu_w,
|
|
|
2
2
|
dagster_postgres/py.typed,sha256=la67KBlbjXN-_-DfGNcdOcjYumVpKG_Tkw-8n5dnGB4,8
|
|
3
3
|
dagster_postgres/storage.py,sha256=whjOJeT4-W41bZ8xDBg77NGSVJPQzc33IsxpmGNdpVM,4257
|
|
4
4
|
dagster_postgres/utils.py,sha256=AjuUYZ3y4Q3oaa-6I2zd6SNwl66FE8cJ_e2rIKrI9IQ,5930
|
|
5
|
-
dagster_postgres/version.py,sha256=
|
|
5
|
+
dagster_postgres/version.py,sha256=QV9fGmjLpegpSAQiizglzvlP2uwa4bTCZX2WiMKCZd4,23
|
|
6
6
|
dagster_postgres/alembic/alembic.ini,sha256=GovyDEhu_6HvkWV6txqjdDBOe4BseSM0YDWGxXM5_cA,986
|
|
7
7
|
dagster_postgres/event_log/__init__.py,sha256=wRcUR-StRNrPCqpEzi0MRY8b-r_TEWV17OsEynFqlLs,100
|
|
8
|
-
dagster_postgres/event_log/event_log.py,sha256=
|
|
8
|
+
dagster_postgres/event_log/event_log.py,sha256=dXqsmPhyCwXmYL9uSXlAwnPjcn--UZCeg68kKXbN3Pk,15505
|
|
9
9
|
dagster_postgres/run_storage/__init__.py,sha256=oW_546mJ5K-e-RF0Ou7r-4fHWxFthHgPPhWxklsVK1g,94
|
|
10
|
-
dagster_postgres/run_storage/run_storage.py,sha256=
|
|
10
|
+
dagster_postgres/run_storage/run_storage.py,sha256=HIaHxarcFq5AE6LsZJUSIOFzGlNWaUalTSTldNXg03U,9704
|
|
11
11
|
dagster_postgres/schedule_storage/__init__.py,sha256=-jW-1S4Xf5Ew-cz-DjKjU5sVs9EEly_2ELMLOXTewv0,123
|
|
12
|
-
dagster_postgres/schedule_storage/schedule_storage.py,sha256=
|
|
13
|
-
dagster_postgres-0.26.
|
|
14
|
-
dagster_postgres-0.26.
|
|
15
|
-
dagster_postgres-0.26.
|
|
16
|
-
dagster_postgres-0.26.
|
|
17
|
-
dagster_postgres-0.26.
|
|
12
|
+
dagster_postgres/schedule_storage/schedule_storage.py,sha256=eVUV1YRitnneYMJsBjMVgoMNTDbHO_9zCBpAUkn9hIs,8773
|
|
13
|
+
dagster_postgres-0.26.4.dist-info/LICENSE,sha256=TMatHW4_G9ldRdodEAp-l2Xa2WvsdeOh60E3v1R2jis,11349
|
|
14
|
+
dagster_postgres-0.26.4.dist-info/METADATA,sha256=yuYx730unw9fHFgmpv04du4CPsb3cafQHSbRw-zHyQ4,713
|
|
15
|
+
dagster_postgres-0.26.4.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
16
|
+
dagster_postgres-0.26.4.dist-info/top_level.txt,sha256=lScMtAEKDX1yIv2tGa1nzntBa0HEStfWPfCwD8FWlHk,17
|
|
17
|
+
dagster_postgres-0.26.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|