@classmethod
    def from_postgis(cls, sql, con, geom_col='geom', crs=None, index_col=None,
                     coerce_float=True, params=None):
        return geopandas.io.sql.read_postgis(sql, con, geom_col, crs, index_col,
                     coerce_float, params)
A decorator that checks whether login is required on this installation
dataset/ETHPy150Open geopandas/geopandas/geopandas/geodataframe.py/GeoDataFrame.from_postgis--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/decorators.py/webapi_check_login_required