Bug: --config
option not properly using defined database
#172
Labels
No Label
aimedb
bug
chuni
chusan
cxb
database
diva
doc
duplicate
enhancement
frontend
help wanted
idac
idz
invalid
maidx
ongeki
pokken
question
seen
system
testing
wacca
waiting
wip
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Hay1tsme/artemis#172
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected:
When using the cli argument
--config <cfg_dir>
I expect that ARTEMiS would properly use the defined database connection inside<cfg_dir>/core.yaml
.Actual:
While using the cmd option
--config
(f.e.python index.py --config config_test
it will actually use the databse connection insideconfig/core.yaml
. The interesting part is that alembic can succesfully create the database tablealembic_version
from the cli cdefined config folder but ARTEMiS will always use the databse connection fromconfig/core.yaml
.Reproduction steps:
example_config
to something else thanconfig
, f.e.config_test
(make sure to not have a folder calledconfig
!)config_test/core.yaml
with your database credentialspython dbutils.py --config config_test create
(this will fail)python index.py --config config_test
(this will also fail)Can confirm
d1048694d4
fixed the bug, thanks!