Skip to content

Commit

Permalink
Appease mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Dec 17, 2024
1 parent e381c53 commit 5419c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scitacean/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class UploadRawDataset(BaseModel):

@pydantic.model_validator(mode="before")
@classmethod
def _set_investigator(cls, data):
def _set_investigator(cls, data: Any) -> Any:
# The model currently has both `investigator` and `principalInvestigator`
# and both are mandatory. Eventually, `investigator` will be removed.
# So make sure we can construct the model if only one is given.
Expand Down

0 comments on commit 5419c93

Please sign in to comment.