Skip to content

Commit

Permalink
Merge pull request #83 from mmrrqq/update-getting-started
Browse files Browse the repository at this point in the history
docs: update getting-started/first-app to be in line with current python API
  • Loading branch information
Mallets authored Nov 12, 2024
2 parents 0cddaf8 + 2ad310b commit 8d8714f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/getting-started/first-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ if __name__ == "__main__":
for reply in replies:
try:
print("Received ('{}': '{}')"
.format(reply.ok.key_expr, reply.ok.payload.deserialize(str)))
.format(reply.ok.key_expr, reply.ok.payload.to_string()))
except:
print("Received (ERROR: '{}')"
.format(reply.err.payload.decode(str)))
.format(reply.err.payload.to_string()))

session.close()
```
Expand Down

0 comments on commit 8d8714f

Please sign in to comment.