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

Help with Data Filtering #24

Open
gemhue opened this issue Dec 31, 2024 · 1 comment
Open

Help with Data Filtering #24

gemhue opened this issue Dec 31, 2024 · 1 comment

Comments

@gemhue
Copy link

gemhue commented Dec 31, 2024

Hello!

I just wanted to know if you had a guide somewhere to help with data filtering. The example shows how to retrieve records that contain the keyword "python" but I can't find anything regarding more advanced data filtering.

For example:

  • If a record's author is on a list (or not)
  • If a record has a content label (or not)

Would it be possible to add some examples of the above cases or something like that? Thanks!

@MarshalX
Copy link
Owner

MarshalX commented Dec 31, 2024

Hello! We have some debug log messaging which prints author. So you can filter using it :) here is also example "with image". I highly recommend just to print record object to understand how to use different fields

https://github.com/MarshalX/bluesky-feed-generator/blob/main/server/data_filter.py#L27

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

No branches or pull requests

2 participants