docstr: boilerplate callback to simulate a client's `post()` method.
docstr_tok: ["boilerplate","callback","to","simulate","a","client","'s","`","post","(",")","`","method","."]
code: def post(self, msg):
      """boilerplate callback to simulate a client's `post()` method."""
      msg = json.loads(msg)
      assert msg["id"] is not None
  
file_path: perspective/python/perspective/perspective/tests/manager/test_session.py
imports: import json
  import random
  from perspective import Table, PerspectiveManager
label_desc: Use image node_id 1 for calling the TestPerspectiveSession obj's underlying member method code with example usage: obj.post(msg) without return types