|
|
|
@@ -265,11 +265,7 @@ class LearnwareClient: |
|
|
|
semantic_specification["Input"] = input_description |
|
|
|
semantic_specification["Output"] = output_description |
|
|
|
|
|
|
|
if self._check_semantic_specification(semantic_specification): |
|
|
|
return semantic_specification |
|
|
|
else: |
|
|
|
logger.error("The parameters passed in create_semantic_specification() are illegal!") |
|
|
|
return None |
|
|
|
return semantic_specification |
|
|
|
|
|
|
|
def list_semantic_specification_values(self, key: SemanticSpecificationKey): |
|
|
|
url = f"{self.host}/engine/semantic_specification" |
|
|
|
|