def _rfc3339_to_datetime(dt_str):
    return datetime.datetime.strptime(
        dt_str, _RFC3339_MICROS).replace(tzinfo=UTC)
Convert a microsecond-precision timetamp to a native datetime.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/_helpers.py/_rfc3339_to_datetime