def list_spatial_dataset_engines():
    spatial_dataset_service_engines = []
    # If the dataset engine cannot be found in the app_class, check database for site-wide dataset engines
    site_spatial_dataset_services = SdsModel.objects.all()

    if site_spatial_dataset_services:
        # Search for match
        for site_spatial_dataset_service in site_spatial_dataset_services:
            spatial_dataset_object =  initialize_engine_object(engine=site_spatial_dataset_service.engine.encode('utf-8'),
                                                               endpoint=site_spatial_dataset_service.endpoint,
                                                               apikey=site_spatial_dataset_service.apikey,
                                                               username=site_spatial_dataset_service.username,
                                                               password=site_spatial_dataset_service.password)
            spatial_dataset_object.public_endpoint = site_spatial_dataset_service.public_endpoint
            spatial_dataset_service_engines.append(spatial_dataset_object)

    return spatial_dataset_service_engines
Returns a list of available spatial dataset engines
dataset/ETHPy150Open tethysplatform/tethys/tethys_services/utilities.py/list_spatial_dataset_engines