8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc0ff1 commit cbc4a6dCopy full SHA for cbc4a6d
kubernetes/client/api_client.py
@@ -585,6 +585,8 @@ def __deserialize_date(self, string):
585
:param string: str.
586
:return: date.
587
"""
588
+ if not string:
589
+ return None
590
try:
591
from dateutil.parser import parse
592
return parse(string).date()
@@ -606,6 +608,8 @@ def __deserialize_datatime(self, string):
606
608
607
609
:return: datetime.
610
611
612
613
614
615
return parse(string)
0 commit comments