Skip to content

fix: Update FastAPI example to use smooth_api and SmoothConfig - #57

Merged
AryanSharma48 merged 1 commit into
AryanSharma48:mainfrom
Beepice:fix/fastapi-example-rename
Sep 26, 2026
Merged

AryanSharma48 merged 1 commit into
AryanSharma48:mainfrom
Beepice:fix/fastapi-example-rename

Conversation

@Beepice

@Beepice Beepice commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Fixes #24

Updated examples/fastapi/main.py to replace the deprecated resilient_api and ResilientConfig with the new smooth_api and SmoothConfig APIs.

  • All 6 occurrences renamed
  • Example behavior unchanged
  • No other files modified

@github-actions

Copy link
Copy Markdown

Hi there! Thanks for your first pull request! We'll review it shortly.

While it's getting reviewed, feel free to join our Discord community for suggestions and chat.

@AryanSharma48 AryanSharma48 changed the title Update FastAPI example to use smooth_api and SmoothConfig fix: Update FastAPI example to use smooth_api and SmoothConfig Sep 26, 2026

@AryanSharma48 AryanSharma48 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Looks good, thank you for the contribution @Beepice !

@AryanSharma48
AryanSharma48 merged commit 886371c into AryanSharma48:main Sep 26, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix] Update FastAPI example to use non-deprecated APIs

2 participants