Browse Source

[FIX] fix circle import

tags/v0.3.2
bxdd 2 years ago
parent
commit
c5b0d88dc0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      learnware/client/learnware_client.py

+ 2
- 1
learnware/client/learnware_client.py View File

@@ -14,7 +14,7 @@ from typing import Union, List
from ..config import C
from .. import learnware
from .container import LearnwaresContainer
from ..market import BaseChecker, EasySemanticChecker, EasyStatChecker, CondaChecker
from ..market import BaseChecker, EasySemanticChecker, EasyStatChecker
from ..logger import get_module_logger
from ..specification import Specification
from ..learnware import get_learnware_from_dirpath
@@ -389,6 +389,7 @@ class LearnwareClient:

@staticmethod
def _check_stat_specification(learnware):
from ..market.classes import CondaChecker
stat_checker = CondaChecker(inner_checker=EasyStatChecker())
return stat_checker(learnware) != BaseChecker.INVALID_LEARNWARE



Loading…
Cancel
Save