MarshalX / atproto

The AT Protocol (🦋 Bluesky) SDK for Python 🐍
https://atproto.blue
MIT License
278 stars 30 forks source link

Misspelling in get_author_feed #276

Closed snazzyfox closed 6 months ago

snazzyfox commented 6 months ago

Using client.get_author_feed with the filter= option does not seem to have an effect.

resp = await client.get_author_feed(user, filter="posts_no_replies", limit=10)

This code always seems to return the same set of posts regardless of what filter is set to. Capturing logs from httpx seems to point to that the actual api call being made is misspelled:

2024-02-16 17:41:41,285 httpx: HTTP Request: GET https://bsky.social/xrpc/app.bsky.feed.getAuthorFeed?actor=snazzythefox.bsky.social&limit=10&fitler=posts_no_replies "HTTP/1.1 200 OK"
MarshalX commented 6 months ago

thank you for your report! this is a bug

  1. to avoid such bugs in the future i fixed aliases for pyright. which now highlights such typos properly without false positives
image
  1. this bug will be fixed today and i gonna release v0.0.42
MarshalX commented 6 months ago

released. pls update

snazzyfox commented 6 months ago

confirmed it's working properly in the latest release; appreciate the quick fix!