parameters: (self, reltype)
return_statement: return res['data'] if res else []
docstring: Return collection for given relation.
docstring_summary: Return collection for given relation.
docstring_tokens: Return collection for given relation .
function: def _expand_relation(self, reltype):
          """Return collection for given relation."""
          res = self._relations[reltype].find(self.user, self)
          return res['data'] if res else []
function_tokens: def _expand_relation ( self , reltype ) : res = self . _relations [ reltype ] . find ( self . user , self ) return res [ 'data' ] if res else [ ]