def convert_strtime_datetime(dt_str):
dt, _, us = dt_str.partition("<STR_LIT:.>")<EOL>dt = datetime.datetime.strptime(dt, "<STR_LIT>")<EOL>us = int(us.rstrip("<STR_LIT>"), <NUM_LIT:10>)<EOL>return dt + datetime.timedelta(microseconds=us)<EOL>
Converts datetime isoformat string to datetime (dt) object

    Args:
        :dt_str (str): input string in '2017-12-30T18:48:00.353Z' form
         or similar
    Returns:
        TYPE:  datetime object