code: def from_iso_date_string(self, date_str: str) -> datetime:
          
          assert isinstance(date_str, str)
  
          self.value = datetime.strptime(date_str, ISO_DATE_FORMAT)
          return self.value
docs: Parse ISO date string (YYYY-MM-DD)