diff --git a/src/aind_data_transfer_service/configs/job_configs.py b/src/aind_data_transfer_service/configs/job_configs.py index 205d8b8..881267a 100644 --- a/src/aind_data_transfer_service/configs/job_configs.py +++ b/src/aind_data_transfer_service/configs/job_configs.py @@ -14,7 +14,7 @@ PrivateAttr, SecretStr, ValidationInfo, - field_validator, + field_validator, ConfigDict, ) from pydantic_settings import BaseSettings @@ -104,6 +104,9 @@ def get_compress_source_default( class BasicUploadJobConfigs(BaseSettings): """Configuration for the basic upload job""" + # Allow users to pass in extra fields + model_config = ConfigDict(extra='allow',) + # Need some way to extract abbreviations. Maybe a public method can be # added to the Platform class _PLATFORM_MAP: ClassVar = {