Skip to content

Commit

Permalink
fix: allow users to add extra configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 committed Feb 3, 2024
1 parent 5240977 commit b1bfb66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/aind_data_transfer_service/configs/job_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
PrivateAttr,
SecretStr,
ValidationInfo,
field_validator,
field_validator, ConfigDict,
)
from pydantic_settings import BaseSettings

Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit b1bfb66

Please sign in to comment.