Skip to content

Commit

Permalink
Update get_bsky_posts_by_url.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney authored Nov 8, 2024
1 parent 4482951 commit e71197c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/get_bsky_posts_by_url.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from atproto import Client, IdResolver, models
from typing import Optional

from atproto import Client, IdResolver, models

def fetch_posts(client: Client, resolver: IdResolver, url: str) -> Optional[models.app.bsky.feed.get_posts.Response]:

Check failure on line 5 in examples/get_bsky_posts_by_url.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff (I001)

examples/get_bsky_posts_by_url.py:1:1: I001 Import block is un-sorted or un-formatted
"""
Fetches a post using its Bluesky URL.
Expand Down

0 comments on commit e71197c

Please sign in to comment.