Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

optional list of dropouts #274

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ocf_datapipes/config/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def dropout_fraction_valid(cls, v):
class SystemDropoutMixin(Base):
"""Mixin class, to add independent system dropout"""

system_dropout_timedeltas_minutes: List[int] = Field(
system_dropout_timedeltas_minutes: Optional[List[int]] = Field(
None,
description="List of possible minutes before t0 where data availability may start. Must be "
"negative or zero. Each system in a sample is delayed independently from the other by "
Expand Down