Example #1
0
 def callback(registry: VariableRegistry):
     name1 = registry.register("identityId", identityId)
     name2 = registry.register("limit", limit)
     name3 = registry.register("offset", offset)
     name4 = registry.register("orderBy", orderBy)
     name5 = registry.register("order", order)
     entity = Intent()
     config(entity)
     return f'intents(identityId:{name1}, limit:{name2}, offset:{name3}, orderBy:{name4}, order:{name5})' + '{' + entity.render(registry) + '}'
Example #2
0
 def callback(registry: VariableRegistry):
     entity = Intent()
     config(entity)
     return "data {" + entity.render(registry) + "}"
Example #3
0
 def callback(registry: VariableRegistry):
     name1 = registry.register("identityId", identityId)
     name2 = registry.register("reference", reference)
     entity = Intent()
     config(entity)
     return f'intent(identityId:{name1}, reference:{name2})' + '{' + entity.render(registry) + '}'