R2R
R2R copied to clipboard
unable to load extra field for ingestion from config file
Describe the bug
In the toml configuration file, if additional properties are added to ingestion, the program is unable to read those properties.
Additional context
From the code py/core/main/assembly/factory.py, it appears that the initialization of IngestionConfig is incorrect with respect to extra_fields. For example, may be modified as follows:
- r2r_ingestion_config = R2RIngestionConfig(
+ r2r_ingestion_config = R2RIngestionConfig.create(