Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly import client_utils for TextBuilder #266

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/tutorials/creating-a-post.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ Learn about how mentions and links work under the hood with the [Link, mentions,
Use TextBuilder to construct a post with mentions and links.

```python
from atproto import TextBuilder
from atproto import client_utils

tb = TextBuilder()
tb = client_utils.TextBuilder()
tb.text('✨ example mentioning ')
tb.mention('atproto.com', 'did:plc:ewvi7nxzyoun6zhxrhs64oiz')
tb.text(' to share the URL ')
Expand Down