mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 16:07:46 +00:00
4618d59ec3
* first round app folder cleaning * fix CI
24 lines
665 B
Python
24 lines
665 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class BasePropSetting(BaseSettings):
|
|
"""
|
|
The common part of the config for RD Loop to propose and development
|
|
You can add following config in the subclass to distinguish the environment variables.
|
|
|
|
.. code-block:: python
|
|
|
|
class Config:
|
|
env_prefix = "DM_MODEL_" # Use MODEL_CODER_ as prefix for environment variables
|
|
protected_namespaces = () # Add 'model_' to the protected namespaces
|
|
"""
|
|
|
|
scen: str = ""
|
|
hypothesis_gen: str = ""
|
|
hypothesis2experiment: str = ""
|
|
coder: str = ""
|
|
runner: str = ""
|
|
summarizer: str = ""
|
|
|
|
evolving_n: int = 10
|