Project config
blackline.models.project_config
ProjectConfig
Bases: BaseModel
Pydantic model for the configuration of a Blackline project.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name |
str
|
Name of the project. | required |
config_version |
int
|
Version of the project configuration file. |
1
|
version |
str
|
Version of the project. |
1
|
default_profile |
str
|
Default profile to use for the project. |
default
|
catalogue_path |
Path
|
Path to the directory containing the project's metadata catalogue. | required |
adapters_path |
Path
|
Path to the directory containing the project's adapters. | required |
project_root |
Path
|
required |
Source code in BAR /opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/blackline/models/project_config.py
parse_config_file(path)
classmethod
Parse a project configuration file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
filepath |
Path
|
Path to the project configuration file. |
required |
Returns:
Name | Type | Description |
---|---|---|
ProjectConfig |
ProjectConfig
|
A ProjectConfig instance. |