constants¶
Byte server constants.
- byte_bot.server.lib.constants.DB_SESSION_DEPENDENCY_KEY = 'db_session'¶
The name of the key used for dependency injection of the database session.
- byte_bot.server.lib.constants.DEFAULT_PAGINATION_SIZE = 20¶
Default page size to use.
- byte_bot.server.lib.constants.DTO_INFO_KEY = 'info'¶
The name of the key used for storing DTO information.
- byte_bot.server.lib.constants.USER_DEPENDENCY_KEY = 'current_user'¶
The name of the key used for dependency injection of the database session.