Guest User

Untitled

a guest
Apr 23rd, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Form server version 1.2alpha
  2. Type :help for help.
  3.  
  4. >>> from form import Request
  5. >>> rp = dalserver.source.runProcedure
  6. >>> def rd():
  7. ... return rp(Request('users_get_by_user_id', [123]))
  8. ...
  9. >>> from form.yoshi.future import Future
  10. >>> f = Future(rd())
  11. >>> f.format()
  12. [{'creation_tsz_epoch': None, 'user_id': 123, 'password_reset_code': None, 'change_email_code': None, 'change_email': None, 'state': 'active', 'primary_email': 'midnightandlulu@yahoo.com', 'password': '19cbf05cc2c19c4f', 'login_name': 'midnightandlulu'}]
  13. >>>
Add Comment
Please, Sign In to add comment