Skip to content
Snippets Groups Projects
Commit 9c172fe3 authored by sveseli's avatar sveseli
Browse files

add method to get experiment api from api factory

parent f990238e
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,13 @@ class DsRestApiFactory: ...@@ -49,6 +49,13 @@ class DsRestApiFactory:
api = AuthRestApi(username, password, host, port, protocol) api = AuthRestApi(username, password, host, port, protocol)
return api return api
@classmethod
def getExperimentRestApi(cls):
from experimentRestApi import ExperimentRestApi
(username, password, host, port, protocol) = cls.__getConfiguration()
api = ExperimentRestApi(username, password, host, port, protocol)
return api
#################################################################### ####################################################################
# Testing # Testing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment