[DOCS-10418] Correct Example Payload Signature to be Python 3 compatible Created: 21/Jun/17  Updated: 29/Oct/23  Resolved: 19/Oct/17

Status: Closed
Project: Documentation
Component/s: BaaS
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: collector-298ba4e7, docs-triage, stitch-docs
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/stitch/services/http/#example-payload-signature
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0
Referrer: https://docs.mongodb.com/stitch/search/?query=verify%20payload%20signature
Screen Resolution: 1680 x 1050


Participants:
Days since reply: 6 years, 16 weeks, 6 days ago

 Description   

Python code, to be Python 3 compatible should use print as a function. Also a literal bytestring (b'') should be preferred to 'bytes()'. Also, no trailing semicolons are needed.



 Comments   
Comment by Anthony Sansone (Inactive) [ 19/Oct/17 ]

This example has been fixed.

Generated at Thu Feb 08 08:00:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.