Skip to content

Commit

Permalink
[MINOR]: JID response handler
Browse files Browse the repository at this point in the history
  • Loading branch information
amadolid committed Dec 9, 2024
1 parent e454350 commit de327d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jac-cloud/jac_cloud/core/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
Anchor,
AnchorState,
BaseArchitype,
JID,
JacCloudJID,
NodeAnchor,
Permission,
Expand Down Expand Up @@ -170,6 +171,8 @@ def clean_response(
case dict():
for key, dval in val.items():
self.clean_response(key, dval, val)
case JID():
cast(dict, obj)[key] = str(val)
case Anchor():
cast(dict, obj)[key] = val.report()
case BaseArchitype():
Expand Down

0 comments on commit de327d0

Please sign in to comment.