codemation / pydbantic

A single model for shaping, creating, accessing, storing data within a Database
https://pydbantic.readthedocs.io/en/latest/
Apache License 2.0
228 stars 15 forks source link

Warning database init ready #54

Closed Creadeyh closed 1 year ago

Creadeyh commented 1 year ago

Hi,

I'm running pydbantic without alembic await Database.create("sqlite_string", tables=[Project, Comment]). I'm getting WARNING database init - ready when I run the app. Digging in pydbantic's code, it's coming from database.py:592, it seems like normal operation and my app is working perfectly.

Unless I missed something, shouldn't this log be changed to INFO or DEBUG ? Thanks

codemation commented 1 year ago

Hello @Creadeyh , indeed this is meant as more of an INFO message. Happy to hear everything else is working well. Will update within next release