示例#1
0
class Query(APIOperation):
    '''
    classdocs
    '''
    def __init__(self):
        self.api = DataAPI()
        self.cr = CReader('../APIInterface/sampledata')

    def probe(self):
        self.api.connect()
        self.api.dispReq(self.api.req)
        self.api.dispRes(self.api.res)
示例#2
0
class Query(APIOperation):
    '''
    classdocs
    '''


    def __init__(self):
        self.api = DataAPI()
        self.cr = CReader('../APIInterface/sampledata')
    
    def probe(self):
        self.api.connect()
        self.api.dispReq(self.api.req)
        self.api.dispRes(self.api.res)