예제 #1
0
 def has_method(section_node, method):
     for method in api.methodNodeIterator(section_node):
         if method.get("name") == method_name:
             return True
     return False
예제 #2
0
파일: ApiLoader.py 프로젝트: lite/empweb
 def has_method(section_node, method):
     for method in api.methodNodeIterator(section_node):
         if method.get("name") == method_name:
             return True
     return False