tickets_plus.database
General database package for Tickets+.
This package contains the database layer, models, const and config. It is used by the bot to store and retrieve data from the database. Get configuration values from the config module. And get constants from the const module.
Typical usage example:
from tickets_plus.database import layer from tickets_plus.database import models from tickets_plus.database import const from tickets_plus.database import config ...
1"""General database package for Tickets+. 2 3This package contains the database layer, models, const and config. 4It is used by the bot to store and retrieve data from the database. 5Get configuration values from the config module. 6And get constants from the const module. 7 8Typical usage example: 9 ```py 10 from tickets_plus.database import layer 11 from tickets_plus.database import models 12 from tickets_plus.database import const 13 from tickets_plus.database import config 14 ... 15 ``` 16""" 17# License: EPL-2.0 18# SPDX-License-Identifier: EPL-2.0 19# Copyright (c) 2021-present The Tickets+ Contributors 20# This Source Code may also be made available under the following 21# Secondary Licenses when the conditions for such availability set forth 22# in the Eclipse Public License, v. 2.0 are satisfied: GPL-3.0-only OR 23# If later approved by the Initial Contributor, GPL-3.0-or-later.