X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=engine%2Fmanifoldquery.py;h=e48c94d65b71849e9ca291eb87da2681001fa4e6;hb=00e925de365deefe83fd1bf17726dce43947dfbd;hp=188a1d4596db44097fa3d1b6aceabf1ff973d1b3;hpb=9ae44949b75cd220c6d67a97d148cfa9ac9f9fb9;p=unfold.git diff --git a/engine/manifoldquery.py b/engine/manifoldquery.py index 188a1d45..e48c94d6 100644 --- a/engine/manifoldquery.py +++ b/engine/manifoldquery.py @@ -46,3 +46,14 @@ class ManifoldQuery: sq="{%s}"%sq return """ new Query('%(a)s', '%(m)s', '%(t)s', %(f)s, %(p)s, %(c)s, %(unique)s, '%(uuid)s', %(aq)s, %(sq)s)"""%locals() + + # 4amine + # xxx + # this should build an object from a dict as received from javascript + # to see an example just look at the server's output + # incoming POST + def fill_from_dict (self, d): + # mandatory... + self.action=d['action'] + self.method=d['method'] + #