Skip to content

Commit

Permalink
fix: optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Jan 22, 2025
2 parents cb6b8c1 + 1850ca6 commit eed3312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aind_data_schema/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class AindCoreModel(AindModel):
..., pattern=r"^\d+.\d+.\d+$", description="schema version", title="Version", frozen=True
)

extensions: AindGenericType = Field(default=None, description="Extensions to the schema", title="Extensions")
extensions: Optional[AindGenericType] = Field(default=None, description="Extensions to the schema", title="Extensions")

@field_validator("schema_version", mode="before")
@classmethod
Expand Down

0 comments on commit eed3312

Please sign in to comment.