(self)
return self.render(data=[data.view() for data in datas])
ref: web_api.yaml
        :return:
ref: web_api.yaml
        :return:
ref : web_api . yaml : return :
def get(self):
        """
        ref: web_api.yaml
        :return:
        """
        pattern = None
        if 'pattern' in g.args:
            pattern = g.args['pattern']
        datas = DataService.list(pattern)
        user = g.user.login
        datas = filter(lambda x: x.owner == user,
                       datas)  # + filter(lambda x: x.owner != user and x.public_read, datas)
        return self.render(data=[data.view() for data in datas])
def get ( self ) : pattern = None if 'pattern' in g . args : pattern = g . args [ 'pattern' ] datas = DataService . list ( pattern ) user = g . user . login datas = filter ( lambda x : x . owner == user , datas ) # + filter(lambda x: x.owner != user and x.public_read, datas) return self . render ( data = [ data . view ( ) for data in datas ] )