From 25d8463b622cf32b3e9eebeb811cd1730e1bb20c Mon Sep 17 00:00:00 2001 From: Bell Eapen Date: Sun, 19 Nov 2023 10:28:59 -0500 Subject: [PATCH 1/2] Initialize default engine in create function --- src/pyomop/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pyomop/main.py b/src/pyomop/main.py index 1587fcd..8dbb9b3 100644 --- a/src/pyomop/main.py +++ b/src/pyomop/main.py @@ -30,6 +30,8 @@ def cli(verbose, create, dbtype, host, port, user, pw, name, schema, vocab): print("verbose") if create: cdm = CdmEngineFactory(dbtype, host, port, user, pw, name, schema) + # initialize default engine + engine = cdm.engine asyncio.run(cdm.init_models(metadata)) if vocab is not '': cdm = CdmEngineFactory(dbtype, host, port, user, pw, name, schema) From b7a735959d5790121c9d3881b1bc93e114364a7c Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Nov 2023 15:30:12 +0000 Subject: [PATCH 2/2] Commit from GitHub Actions (Generate changelog) --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9edfda2..a756bff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [4.1.0](https://github.com/dermatologist/pyomop/tree/4.1.0) (2023-11-19) + +[Full Changelog](https://github.com/dermatologist/pyomop/compare/4.0.0...4.1.0) + ## [4.0.0](https://github.com/dermatologist/pyomop/tree/4.0.0) (2023-11-19) [Full Changelog](https://github.com/dermatologist/pyomop/compare/3.2.0...4.0.0)