dagster-postgres 0.17.21__py3-none-any.whl → 0.18.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.

Potentially problematic release.


This version of dagster-postgres might be problematic. Click here for more details.

@@ -189,6 +189,11 @@ class PostgresRunStorage(SqlRunStorage, ConfigurableClass):
189
189
  "body": serialize_dagster_namedtuple(daemon_heartbeat),
190
190
  },
191
191
  )
192
+ .returning(
193
+ # required because sqlalchemy might by default return the declared primary key,
194
+ # which might not exist
195
+ DaemonHeartbeatsTable.c.daemon_type,
196
+ )
192
197
  )
193
198
 
194
199
  def kvs_set(self, pairs: Mapping[str, str]) -> None:
@@ -203,6 +208,10 @@ class PostgresRunStorage(SqlRunStorage, ConfigurableClass):
203
208
  KeyValueStoreTable.c.key,
204
209
  ],
205
210
  set_={"value": insert_stmt.excluded.value},
211
+ ).returning(
212
+ # required because sqlalchemy might by default return the declared primary key,
213
+ # which might not exist
214
+ KeyValueStoreTable.c.key
206
215
  )
207
216
 
208
217
  with self.connect() as conn:
@@ -1 +1 @@
1
- __version__ = "0.17.21"
1
+ __version__ = "0.18.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagster-postgres
3
- Version: 0.17.21
3
+ Version: 0.18.1
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: Elementl
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
14
14
  Classifier: License :: OSI Approved :: Apache Software License
15
15
  Classifier: Operating System :: OS Independent
16
16
  License-File: LICENSE
17
- Requires-Dist: dagster (==1.1.21)
17
+ Requires-Dist: dagster (==1.2.1)
18
18
  Requires-Dist: psycopg2-binary
19
19
 
20
20
  UNKNOWN
@@ -3,17 +3,17 @@ dagster_postgres/py.typed,sha256=la67KBlbjXN-_-DfGNcdOcjYumVpKG_Tkw-8n5dnGB4,8
3
3
  dagster_postgres/pynotify.py,sha256=hvPpsKIeGru10PJTr2sWhX83O0KY8vgpyJLXEYdCvjI,5049
4
4
  dagster_postgres/storage.py,sha256=rygRTp2qyJaEbk5YaoJh5Bhqysmxyvo36OmSO2g5T7Q,4103
5
5
  dagster_postgres/utils.py,sha256=lBIRRZSFGV3rNlQ4DBhgRakYL3qJEou2Y88pSyKvcjI,5811
6
- dagster_postgres/version.py,sha256=02pERK8eGbKCmhhaP6R4kszX1AZhworPgk9xCzHc0Ak,24
6
+ dagster_postgres/version.py,sha256=i8LHPc0qiYueFP9CAFrtufkGZfMfDAhFNqWW_Pa8HsI,23
7
7
  dagster_postgres/alembic/alembic.ini,sha256=S0-B6cHIaS_CJaJc2dd0NiQfDLIWfvaZJGZYQsH7tSY,1040
8
8
  dagster_postgres/event_log/__init__.py,sha256=T95tRLYxnC-g69K_5G9i1NLTXi3pGexLVKeGug8niMA,146
9
9
  dagster_postgres/event_log/event_log.py,sha256=3UladCJzVeYjmxjc6VXbAlL7BKJ4W6jgaGd8LTT8gsA,13014
10
10
  dagster_postgres/event_log/event_watcher.py,sha256=59TuxkNX56Va54GJFqdQSzSCmA14onS_4l5IFYbRxb8,5346
11
11
  dagster_postgres/run_storage/__init__.py,sha256=4bI2C2kkZO9glXH8jIUViYBRSeMjdDHiVQVi_k1HkYw,66
12
- dagster_postgres/run_storage/run_storage.py,sha256=stg7o9X4HRmWPwNtBTPcLNx-vIyXln2r6fRMolxpMAE,8501
12
+ dagster_postgres/run_storage/run_storage.py,sha256=KI90vWJn92-KNBMmGXYvVOzKqfmahaXN6Gwtyh_6Esw,8934
13
13
  dagster_postgres/schedule_storage/__init__.py,sha256=GKJlFZYh27fUxJDMQwNJUwibbTnip1ledbcokczutmk,81
14
14
  dagster_postgres/schedule_storage/schedule_storage.py,sha256=Iqe9CoD-t66zBQhxIDG-isbBADplY1NW1mSppqkLpK8,7122
15
- dagster_postgres-0.17.21.dist-info/LICENSE,sha256=-gtoVIAZYUHYmNHISZg982FI4Oh19mV1nxgTVW8eCB8,11344
16
- dagster_postgres-0.17.21.dist-info/METADATA,sha256=v7qQBzzrZjDjN6AuKg18IMQMnC8MsVseeDC05PvzikA,705
17
- dagster_postgres-0.17.21.dist-info/WHEEL,sha256=p46_5Uhzqz6AzeSosiOnxK-zmFja1i22CrQCjmYe8ec,92
18
- dagster_postgres-0.17.21.dist-info/top_level.txt,sha256=lScMtAEKDX1yIv2tGa1nzntBa0HEStfWPfCwD8FWlHk,17
19
- dagster_postgres-0.17.21.dist-info/RECORD,,
15
+ dagster_postgres-0.18.1.dist-info/LICENSE,sha256=-gtoVIAZYUHYmNHISZg982FI4Oh19mV1nxgTVW8eCB8,11344
16
+ dagster_postgres-0.18.1.dist-info/METADATA,sha256=wJQtkFs3TSF-xWW2UpWIf-YIQ6SkdJxCFdV6JBsaOEA,703
17
+ dagster_postgres-0.18.1.dist-info/WHEEL,sha256=p46_5Uhzqz6AzeSosiOnxK-zmFja1i22CrQCjmYe8ec,92
18
+ dagster_postgres-0.18.1.dist-info/top_level.txt,sha256=lScMtAEKDX1yIv2tGa1nzntBa0HEStfWPfCwD8FWlHk,17
19
+ dagster_postgres-0.18.1.dist-info/RECORD,,