How can I transform parallax coordinates to terrestrial Longitude and Latitude?

Hi all! I’m using astroquery.mpc to obtain terrestrial coordinates of observatories starting from MPC code using get_observatory_location. Is there a way to convert the result (longitude, parallax_x, parallax_y) to standard terrestrial coordinates like longitude, latitude and altitude? Is there a method or a function in astropy to make it?

Take a look at astropy.coordinates.EarthLocation