Skip to content

Commit 27b15ee

Browse files
committed
update to ignore attr defined
1 parent acb6cd8 commit 27b15ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ 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(
279+
datetime.fromisoformat( # type: ignore[attr-defined]
280280
string_date) # type: ignore[attr-defined]
281281
except:
282282
raise ValueError(f"""Incorrect format for: {string_date}.

0 commit comments

Comments
 (0)