(d)
| 1337 | # for all JSON objects, and track them so that they can be later wired up to |
| 1338 | # the Message they belong to, once it is instantiated. |
| 1339 | def object_hook(d): |
| 1340 | d = MessageDict(None, d) |
| 1341 | if "seq" in d: |
| 1342 | self._prettify(d) |
| 1343 | d.associate_with = associate_with |
| 1344 | message_dicts.append(d) |
| 1345 | return d |
| 1346 | |
| 1347 | # A hack to work around circular dependency between messages, and instances of |
| 1348 | # MessageDict in their payload. We need to set message for all of them, but it |
nothing calls this directly
no test coverage detected