Skip to content

make betterworldbooks async#12404

Merged
cdrini merged 3 commits intomasterfrom
fastapi/affiliate-links-async
Apr 18, 2026
Merged

make betterworldbooks async#12404
cdrini merged 3 commits intomasterfrom
fastapi/affiliate-links-async

Conversation

@RayBB
Copy link
Copy Markdown
Collaborator

@RayBB RayBB commented Apr 17, 2026

Part of #12254

Technical

Testing

Make sure prices are the same both on the html page and the prices api for testing and production:

Screenshot

Stakeholders

@RayBB RayBB changed the title make betterworld books async make betterworldbooks async Apr 17, 2026
@RayBB RayBB added On Testing Priority: 1 Do this week, receiving emails, time sensitive, . [managed] labels Apr 17, 2026
Copy link
Copy Markdown
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

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

Lgtm, tested on testing and saw BWB prices in the prices panel



def _get_betterworldbooks_metadata(
get_betterworldbooks_metadata = async_bridge.wrap(get_betterworldbooks_metadata_async)
Copy link
Copy Markdown
Collaborator

@cdrini cdrini Apr 18, 2026

Choose a reason for hiding this comment

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

It might be worthwhile migrating the /prices endpoint to fastapi! It's a tiny one used mainly internally, and will let us delete the bridge/sync version entirely!

@cdrini cdrini merged commit eaf18c5 into master Apr 18, 2026
7 checks passed
@cdrini cdrini deleted the fastapi/affiliate-links-async branch April 18, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

On Testing Priority: 1 Do this week, receiving emails, time sensitive, . [managed]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants