import connexion

from swagger_server.eu.dnetlib.DLIESConnector import DLIESConnector
from swagger_server.models.error import Error
from datetime import date, datetime
from typing import List, Dict
from six import iteritems
from ..util import deserialize_date, deserialize_datetime


def list_datasources_get(page=None):
    """
    Get the list of all Datasources
    The realtionFromDatasource endpoint returns a list of scholix object collected from a specific datasource 
    :param page: The page of results
    :type page: int

    :rtype: List[str]
    """
    c = DLIESConnector('ip-90-147-167-27.ct1.garrservices.it')
    return c.list_datasources()
