|
9 | 9 | config = Config(".env") |
10 | 10 |
|
11 | 11 | API_PREFIX = "/api" |
12 | | -VERSION = "0.1.0" |
| 12 | +VERSION = "{{cookiecutter.version}}" |
13 | 13 | DEBUG: bool = config("DEBUG", cast=bool, default=False) |
14 | 14 | MAX_CONNECTIONS_COUNT: int = config("MAX_CONNECTIONS_COUNT", cast=int, default=10) |
15 | 15 | MIN_CONNECTIONS_COUNT: int = config("MIN_CONNECTIONS_COUNT", cast=int, default=10) |
16 | 16 | SECRET_KEY: Secret = config("SECRET_KEY", cast=Secret, default="") |
17 | 17 | MEMOIZATION_FLAG: bool = config("MEMOIZATION_FLAG", cast=bool, default=True) |
18 | 18 |
|
19 | | -PROJECT_NAME: str = config("PROJECT_NAME", default="manu") |
| 19 | +PROJECT_NAME: str = config("PROJECT_NAME", default="{{cookiecutter.project_name}}") |
20 | 20 |
|
21 | 21 | # logging configuration |
22 | 22 | LOGGING_LEVEL = logging.DEBUG if DEBUG else logging.INFO |
|
25 | 25 | ) |
26 | 26 | logger.configure(handlers=[{"sink": sys.stderr, "level": LOGGING_LEVEL}]) |
27 | 27 |
|
28 | | -MODEL_PATH = config( |
29 | | - "MODEL_PATH", default="/Users/arthur.dasilva/repos/arthurhenrique/n" |
30 | | -) |
31 | | -MODEL_NAME = config("MODEL_NAME", default="pregnancy_model_local.joblib") |
32 | | -INPUT_EXAMPLE = config("INPUT_EXAMPLE", default="./ml/model/examples/example.json") |
| 28 | +MODEL_PATH = config("MODEL_PATH", default="{{cookiecutter.machine_learn_model_path}}") |
| 29 | +MODEL_NAME = config("MODEL_NAME", default="{{cookiecutter.machine_learn_model_name}}") |
| 30 | +INPUT_EXAMPLE = config("INPUT_EXAMPLE", default="{{cookiecutter.input_example_path}}") |
0 commit comments