bundesliga_tippspiel.db package

Subpackages

Submodules

bundesliga_tippspiel.db.SeasonEvent module

class bundesliga_tippspiel.db.SeasonEvent.SeasonEvent(*args, **kwargs)

Bases: jerrycan.db.ModelMixin.ModelMixin, sqlalchemy.orm.decl_api.Model

Model that describes the ‘season_events’ SQL table

__init__(*args, **kwargs)

Initializes the Model :param args: The constructor arguments :param kwargs: The constructor keyword arguments

event_type: bundesliga_tippspiel.db.SeasonEvent.SeasonEventType
executed: bool
league: int
season: int
class bundesliga_tippspiel.db.SeasonEvent.SeasonEventType(value)

Bases: enum.Enum

Enumeration that describes all the possible season event types

MID_SEASON_REMINDER = 'mid_season_reminder'
POST_SEASON_WRAPUP = 'post_season_wrapup'
PRE_SEASON_MAIL = 'pre_season_mail'

Module contents

bundesliga_tippspiel.db.models: List[sqlalchemy.orm.decl_api.Model] = [<class 'bundesliga_tippspiel.db.match_data.Player.Player'>, <class 'bundesliga_tippspiel.db.match_data.Goal.Goal'>, <class 'bundesliga_tippspiel.db.match_data.Match.Match'>, <class 'bundesliga_tippspiel.db.match_data.Team.Team'>, <class 'bundesliga_tippspiel.db.user_generated.Bet.Bet'>, <class 'bundesliga_tippspiel.db.user_generated.SeasonWinner.SeasonWinner'>, <class 'bundesliga_tippspiel.db.user_generated.MatchdayWinner.MatchdayWinner'>, <class 'bundesliga_tippspiel.db.SeasonEvent.SeasonEvent'>, <class 'bundesliga_tippspiel.db.settings.ReminderSettings.ReminderSettings'>, <class 'bundesliga_tippspiel.db.settings.DisplayBotsSettings.DisplayBotsSettings'>, <class 'bundesliga_tippspiel.db.user_generated.ChatMessage.ChatMessage'>, <class 'bundesliga_tippspiel.db.user_generated.LeaderboardEntry.LeaderboardEntry'>, <class 'bundesliga_tippspiel.db.user_generated.UserProfile.UserProfile'>]

The database models of the application