parameters: (self)
return_statement: return self.render(data=[data.view() for data in datas])
docstring: ref: web_api.yaml
          :return:
docstring_summary: ref: web_api.yaml
          :return:
docstring_tokens: ref : web_api . yaml : return :
function: 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])
function_tokens: 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 ] )