config
Config
Configuration class for the exact-matching workflow.
Loads settings from a YAML file and provides structured access via
per-component settings dataclasses that are shared with other config
classes (e.g. :class:ConfigDrugMapping).
Source code in src/ariadne/utils/config.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
__init__(filename='config_condition_mapping.yaml')
Initializes the Config object by loading settings from the specified YAML file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filename
|
str
|
The path to the YAML configuration file. Defaults to 'config_condition_mapping.yaml' in the current working directory or project root. |
'config_condition_mapping.yaml'
|
Source code in src/ariadne/utils/config.py
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | |
load_hierarchy_settings(filename='config_condition_mapping.yaml')
Load hierarchy settings from the top-level config file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filename
|
str
|
Path to YAML config (CWD first, then project root). |
'config_condition_mapping.yaml'
|
Source code in src/ariadne/utils/config.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |