Browse Source
Merge pull request #27 from Learnware-LAMDA/test_upload_learnware
[FIX] fix bugs in list_semantic_specification_values
tags/v0.3.2
Gene
GitHub
2 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
learnware/client/learnware_client.py
|
|
|
@@ -296,7 +296,7 @@ class LearnwareClient: |
|
|
|
result = response.json() |
|
|
|
semantic_conf = result["data"]["semantic_specification"] |
|
|
|
|
|
|
|
return semantic_conf[key.value]["Values"] |
|
|
|
return semantic_conf[key]["Values"] |
|
|
|
|
|
|
|
def load_learnware( |
|
|
|
self, |
|
|
|
|