ST_AsEWKT
Output
ST_AsEWKT (Python)
Generate the Extended Well-Known Text representation of a geometry column.
Generate the Extended Well-Known Text representation of a geometry column.
As opposed to WKT, EWKT will include the SRID of the geometry.
SQL reference:

