# HG changeset patch # User Sylvain Thénault # Date 1326797732 -3600 # Node ID 77aa753dcd6bd87f2d805f17e9abf40612ded743 # Parent 6dececcaf45486e768840d0d7f169c64d78145c3# Parent 20809488fe566c18f98df24553472acffe387a99 backport stable diff -r 6dececcaf454 -r 77aa753dcd6b schema.py --- a/schema.py Tue Jan 17 11:49:23 2012 +0100 +++ b/schema.py Tue Jan 17 11:55:32 2012 +0100 @@ -666,6 +666,12 @@ full_rql = None def __init__(self, expression, mainvars, eid): + """ + :type mainvars: sequence of RQL variables' names. Can be provided as a + comma separated string. + :param mainvars: names of the variables being selected. + + """ self.eid = eid # eid of the entity representing this rql expression assert mainvars, 'bad mainvars %s' % mainvars if isinstance(mainvars, basestring):