Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datamodelutils/postgres_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def check_version(driver):
loaded in memory. False if the database doesn't track version
"""
if "root" in dictionary.schema:
if not (driver.engine.dialect.has_table(driver.engine, "node_root")):
if not sa.inspect(driver.engine).has_table("node_root"):
return False
with driver.session_scope():
root_node = driver.nodes(models.Root).first()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "datamodelutils"
version = "1.1.1"
version = "1.1.2"
description = "Gen3 Data Model Utils"
authors = ["CTDS UChicago <[email protected]>"]
license = "Apache-2.0"
Expand Down