Skip to content

Update boto3 code example in fork buckets blog post#294

Open
katieschilling wants to merge 2 commits intomainfrom
katie/forking-announcement-updates
Open

Update boto3 code example in fork buckets blog post#294
katieschilling wants to merge 2 commits intomainfrom
katie/forking-announcement-updates

Conversation

@katieschilling
Copy link
Copy Markdown
Contributor

Updates the boto3 code example with proper tigris-boto3-ext usage, correct endpoint URL, and complete workflow implementation.

- Improve boto3 tab to use tigris-boto3-ext package properly
- Add pip install command and proper imports
- Update endpoint URL to t3.storage.tigris.dev
- Show complete workflow with create_snapshot_bucket, create_snapshot, and create_fork
- Maintain standard boto3 operations examples
- Fix variable reference (s3 -> s3_client)
@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
blog Ready Ready Preview Comment Oct 27, 2025 8:34pm
blog-redirect Ready Ready Preview Comment Oct 27, 2025 8:34pm

```

</TabItem>
<TabItem value="boto3" label="Python (boto3)">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace the python tab with this one?

<TabItem value="boto3" label="Python (boto3)">
```python
# Install the boto3 extension
pip install tigris-boto3-ext
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be outside the python code block into its own shell block

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's intentionally in the tabbed view so it is alongside the other code examples. I added a "In your terminal, install..." so it's more clear.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code is not quickly copy-pastable then. Because copying it using the shortcut will end up copying the pip command as well.

Clarified installation instruction for boto3 extension.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants