hockey-blast-common-lib 0.1.25__py3-none-any.whl → 0.1.27__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hockey_blast_common_lib/hockey_blast_sample_backup.sql.gz +0 -0
- hockey_blast_common_lib/models.py +1 -0
- hockey_blast_common_lib/wsgi.py +1 -1
- {hockey_blast_common_lib-0.1.25.dist-info → hockey_blast_common_lib-0.1.27.dist-info}/METADATA +1 -1
- {hockey_blast_common_lib-0.1.25.dist-info → hockey_blast_common_lib-0.1.27.dist-info}/RECORD +7 -7
- {hockey_blast_common_lib-0.1.25.dist-info → hockey_blast_common_lib-0.1.27.dist-info}/WHEEL +0 -0
- {hockey_blast_common_lib-0.1.25.dist-info → hockey_blast_common_lib-0.1.27.dist-info}/top_level.txt +0 -0
Binary file
|
@@ -159,6 +159,7 @@ class Skill(db.Model):
|
|
159
159
|
skill_value = db.Column(db.Float) # A number from 0 (NHL) to 100 (pedestrian)
|
160
160
|
level_name = db.Column(db.String(100), unique=True)
|
161
161
|
level_alternative_name = db.Column(db.String(100))
|
162
|
+
is_seed = db.Column(db.Boolean, nullable=True, default=False) # New field
|
162
163
|
__table_args__ = (
|
163
164
|
db.UniqueConstraint('org_id', 'level_name', name='_org_level_name_uc'),
|
164
165
|
)
|
hockey_blast_common_lib/wsgi.py
CHANGED
@@ -11,7 +11,7 @@ from hockey_blast_common_lib.stats_models import db
|
|
11
11
|
from hockey_blast_common_lib.db_connection import get_db_params
|
12
12
|
|
13
13
|
app = Flask(__name__)
|
14
|
-
db_params = get_db_params("
|
14
|
+
db_params = get_db_params("boss")
|
15
15
|
db_url = f"postgresql://{db_params['user']}:{db_params['password']}@{db_params['host']}:{db_params['port']}/{db_params['dbname']}"
|
16
16
|
app.config['SQLALCHEMY_DATABASE_URI'] = db_url
|
17
17
|
|
{hockey_blast_common_lib-0.1.25.dist-info → hockey_blast_common_lib-0.1.27.dist-info}/RECORD
RENAMED
@@ -5,14 +5,14 @@ hockey_blast_common_lib/aggregate_referee_stats.py,sha256=A0PTyEbPUjqfXxlJCDOVio
|
|
5
5
|
hockey_blast_common_lib/aggregate_skater_stats.py,sha256=37fhgej9trukr8cGaK7DT1HoxBcp95qwsypYCCziqqc,15563
|
6
6
|
hockey_blast_common_lib/db_connection.py,sha256=HvPxDvOj7j5H85RfslGvHVNevfg7mKCd0syJ6NX21mU,1890
|
7
7
|
hockey_blast_common_lib/dump_sample_db.sh,sha256=MHPA-Ciod7wsvAlMbRtXFiyajgnEqU1xR59sJQ9UWR0,738
|
8
|
-
hockey_blast_common_lib/hockey_blast_sample_backup.sql.gz,sha256=
|
9
|
-
hockey_blast_common_lib/models.py,sha256=
|
8
|
+
hockey_blast_common_lib/hockey_blast_sample_backup.sql.gz,sha256=UBbPuU8WzHmxIQScT1uXIbTpjWkkt3gu-FS2LNjBx2A,1033691
|
9
|
+
hockey_blast_common_lib/models.py,sha256=3sZan04IpaDpUX6h84gHO_Qyf-fF32QMpcLXgR3cCfc,15472
|
10
10
|
hockey_blast_common_lib/options.py,sha256=-LtEX8duw5Pl3CSpjFlLM5FPvrZuTAxTfSlDPa7H6mQ,761
|
11
11
|
hockey_blast_common_lib/restore_sample_db.sh,sha256=u2zKazC6vNMULkpYzI64nlneCWaGUtDHPBAU-gWgRbw,1861
|
12
12
|
hockey_blast_common_lib/stats_models.py,sha256=PI-mL1jmjCHLAvaATxSsjHEn05g9L_reA_YpsITPWjQ,21047
|
13
13
|
hockey_blast_common_lib/utils.py,sha256=odDJWCK0BgbResXeoUzxbVChjaxcXr168ZxbrAw3L_8,3752
|
14
|
-
hockey_blast_common_lib/wsgi.py,sha256=
|
15
|
-
hockey_blast_common_lib-0.1.
|
16
|
-
hockey_blast_common_lib-0.1.
|
17
|
-
hockey_blast_common_lib-0.1.
|
18
|
-
hockey_blast_common_lib-0.1.
|
14
|
+
hockey_blast_common_lib/wsgi.py,sha256=7LGUzioigviJp-EUhSEaQcd4jBae0mxbkyBscQfZhlc,730
|
15
|
+
hockey_blast_common_lib-0.1.27.dist-info/METADATA,sha256=9McZBCPSrHLzYxACOj_c4ty-B-rDYqOnjswg_OYLJ1c,318
|
16
|
+
hockey_blast_common_lib-0.1.27.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
17
|
+
hockey_blast_common_lib-0.1.27.dist-info/top_level.txt,sha256=wIR4LIkE40npoA2QlOdfCYlgFeGbsHR8Z6r0h46Vtgc,24
|
18
|
+
hockey_blast_common_lib-0.1.27.dist-info/RECORD,,
|
File without changes
|
{hockey_blast_common_lib-0.1.25.dist-info → hockey_blast_common_lib-0.1.27.dist-info}/top_level.txt
RENAMED
File without changes
|