Convert RFC-3339 formatted timestamp to Datetime in Python?

How to convert the following “RFC-3339 formatted timestamp ‘t’ with nanosecond precision.” to standard Datetme format in Python?

trade {'T': 't', 'S': 'XXX', 'i': 8677, 'x': 'V', 'p': 280.46, 's': 100, 'c': ['@'], 'z': 'C', 't': Timestamp(seconds=1649788142, nanoseconds=505537043)}

Did you figure it out? I also do not know how to do this