Jon Solow commited on
Commit
c0a6646
1 Parent(s): 2dc08a5

Move season var to be shared

Browse files
src/domain/constants.py ADDED
@@ -0,0 +1 @@
 
 
1
+ SEASON = "2023"
src/queries/nflverse/github_data.py CHANGED
@@ -3,12 +3,13 @@ import pandas as pd
3
  import os
4
  from typing import Callable
5
 
 
 
6
 
7
  duckdb.default_connection.execute("SET GLOBAL pandas_analyze_sample=100000")
8
 
9
  BASE_URL = "https://github.com/nflverse/nflverse-data/releases/download/"
10
 
11
- SEASON = "2023"
12
 
13
  FANTASY_POSITIONS = [
14
  "QB",
 
3
  import os
4
  from typing import Callable
5
 
6
+ from domain.constants import SEASON
7
+
8
 
9
  duckdb.default_connection.execute("SET GLOBAL pandas_analyze_sample=100000")
10
 
11
  BASE_URL = "https://github.com/nflverse/nflverse-data/releases/download/"
12
 
 
13
 
14
  FANTASY_POSITIONS = [
15
  "QB",