cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

Add Python code to Durable Object get-started.mdx.

Open dom96 opened this issue 9 months ago • 5 comments

Summary

The DO getting started documentation has JS and TS examples, this adds a Python tab to them.

Documentation checklist

dom96 avatar May 21 '25 16:05 dom96

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Added Python code examples to the Durable Object getting started documentation, complementing existing JavaScript and TypeScript examples.

  • Introduced a Python tab in the Durable Object getting started documentation
  • Provided Python code examples for creating a Durable Object and handling fetch requests
  • Ensured consistency with existing JavaScript and TypeScript examples

Modified Files

  • src/content/docs/durable-objects/get-started.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
*.astro @cloudflare/developer-advocacy, @kristianfreeman, @kodster28, @pedrosousa, @haleycode, @GregBrimble, @KianNH, @WalshyDev
/src/content/docs/durable-objects/ @elithrar, @vy-ton, @joshthoward, @oxyjun, @harshil1712, @mikenomitch, @cloudflare/pcx-technical-writing, @cloudflare/workers-runtime-1

github-actions[bot] avatar May 21 '25 16:05 github-actions[bot]

Preview URL: https://ef54f267.preview.developers.cloudflare.com Preview Branch URL: https://dominik-python-do-get-started.preview.developers.cloudflare.com

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/durable-objects/get-started/ https://dominik-python-do-get-started.preview.developers.cloudflare.com/durable-objects/get-started/

github-actions[bot] avatar May 22 '25 10:05 github-actions[bot]

@elithrar would appreciate a review of this

dom96 avatar Jun 10 '25 11:06 dom96

Well I was hoping that the codeowner changes would have meant I would be able to merge this now... but doesn't seem like it.

@kodster28 maybe you'd be willing to help me out with another review here? :)

dom96 avatar Jun 16 '25 17:06 dom96