Skip to content
Snippets Groups Projects
Commit 6b1f6afb authored by Stefano Borini's avatar Stefano Borini
Browse files

Merge branch 'master' into dummy-plugin

parents 1a9c52d7 71eac776
No related branches found
No related tags found
1 merge request!43Added Dummy Plugin with all dummy "passthrough" DS and KPIC
This commit is part of merge request !43. Comments created here will be created in the context of that merge request.
......@@ -4,3 +4,12 @@ from traits.api import HasStrictTraits, Array, List, String
class DataSourceParameters(HasStrictTraits):
value_types = List(String)
values = Array(shape=(None,))
def __str__(self):
return """
DataSourceParameters
value_types:
{}
values:
{}
""".format(str(self.value_types), str(self.values))
......@@ -17,3 +17,28 @@ class DataSourceResult(HasTraits):
values = Array(shape=(None, None))
accuracy = ArrayOrNone(shape=(None, None))
quality = ArrayOrNone(shape=(None, None))
def __str__(self):
return """
DataSourceResults
originator:
{}
value_types:
{}
values:
{}
Accuracy:
{}
Quality:
{}
""".format(
self.originator,
self.value_types,
self.values,
self.accuracy,
self.quality)
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