dagster-postgres 0.18.0__tar.gz → 0.18.1__tar.gz

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.

Files changed (27) hide show
  1. {dagster-postgres-0.18.0/dagster_postgres.egg-info → dagster-postgres-0.18.1}/PKG-INFO +1 -1
  2. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/run_storage/run_storage.py +9 -0
  3. dagster-postgres-0.18.1/dagster_postgres/version.py +1 -0
  4. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1/dagster_postgres.egg-info}/PKG-INFO +1 -1
  5. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres.egg-info/requires.txt +1 -1
  6. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/setup.py +1 -1
  7. dagster-postgres-0.18.0/dagster_postgres/version.py +0 -1
  8. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/LICENSE +0 -0
  9. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/MANIFEST.in +0 -0
  10. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/README.md +0 -0
  11. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/__init__.py +0 -0
  12. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/alembic/alembic.ini +0 -0
  13. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/event_log/__init__.py +0 -0
  14. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/event_log/event_log.py +0 -0
  15. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/event_log/event_watcher.py +0 -0
  16. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/py.typed +0 -0
  17. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/pynotify.py +0 -0
  18. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/run_storage/__init__.py +0 -0
  19. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/schedule_storage/__init__.py +0 -0
  20. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/schedule_storage/schedule_storage.py +0 -0
  21. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/storage.py +0 -0
  22. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres/utils.py +0 -0
  23. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres.egg-info/SOURCES.txt +0 -0
  24. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres.egg-info/dependency_links.txt +0 -0
  25. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres.egg-info/not-zip-safe +0 -0
  26. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/dagster_postgres.egg-info/top_level.txt +0 -0
  27. {dagster-postgres-0.18.0 → dagster-postgres-0.18.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagster-postgres
3
- Version: 0.18.0
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
@@ -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:
@@ -0,0 +1 @@
1
+ __version__ = "0.18.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagster-postgres
3
- Version: 0.18.0
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
@@ -1,2 +1,2 @@
1
- dagster==1.2.0
1
+ dagster==1.2.1
2
2
  psycopg2-binary
@@ -38,6 +38,6 @@ setup(
38
38
  ]
39
39
  },
40
40
  include_package_data=True,
41
- install_requires=["dagster==1.2.0", "psycopg2-binary"],
41
+ install_requires=["dagster==1.2.1", "psycopg2-binary"],
42
42
  zip_safe=False,
43
43
  )
@@ -1 +0,0 @@
1
- __version__ = "0.18.0"