Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Anis SMAIL committed Jan 30, 2025
1 parent 916969f commit a8d1f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions antarest/study/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ def __eq__(self, other: t.Any) -> bool:
def to_json_summary(self) -> t.Any:
return {"id": self.id, "name": self.name}

@validates("folder")
def validate_folder(self, key, folder) -> str:
@validates("folder") # type: ignore
def validate_folder(self, key: str, folder: str) -> str:
"""
We want to store the path in posix format in the database, even on windows.
"""
Expand Down

0 comments on commit a8d1f25

Please sign in to comment.