Revision 55514
Added by Sandro La Bruzzo almost 5 years ago
datasources_controller.py | ||
---|---|---|
2 | 2 |
|
3 | 3 |
from swagger_server.eu.dnetlib.DLIESConnector import DLIESConnector |
4 | 4 |
|
5 |
|
|
5 |
c = DLIESConnector() |
|
6 | 6 |
def list_datasources_get(page=None): |
7 | 7 |
""" |
8 | 8 |
Get the list of all Datasources |
... | ... | |
12 | 12 |
|
13 | 13 |
:rtype: List[str] |
14 | 14 |
""" |
15 |
c = DLIESConnector() |
|
15 |
|
|
16 | 16 |
return c.list_datasources() |
Also available in: Unified diff
trying to avoid memory leaks