Skip to content

Commit acb6cd8

Browse files
committed
update type ignore
1 parent 95c3e8a commit acb6cd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labelbox/schema/project.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ def _validate_datetime(string_date: str) -> None:
276276
"""helper function validate that datetime is as follows: YYYY-MM-DD for the export"""
277277
if string_date:
278278
try:
279-
datetime.fromisoformat(string_date)
279+
datetime.fromisoformat(
280+
string_date) # type: ignore[attr-defined]
280281
except:
281282
raise ValueError(f"""Incorrect format for: {string_date}.
282283
Format must be \"YYYY-MM-DD\"""")

0 commit comments

Comments
 (0)