Skip to content

Fix FastAPI initialization argument unpacking - #10

Open
digo5ds wants to merge 1 commit into
mainfrom
test-reviewer
Open

Fix FastAPI initialization argument unpacking#10
digo5ds wants to merge 1 commit into
mainfrom
test-reviewer

Conversation

@digo5ds

@digo5ds digo5ds commented Jul 12, 2026

Copy link
Copy Markdown
Owner

No description provided.

@digo5ds

digo5ds commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

/gemini-review

4 similar comments
@digo5ds

digo5ds commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

/gemini-review

@digo5ds

digo5ds commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

/gemini-review

@digo5ds

digo5ds commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

/gemini-review

@digo5ds

digo5ds commented Jul 12, 2026

Copy link
Copy Markdown
Owner Author

/gemini-review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 Gemini AI Code Review

Found 1 suggestions for improvement:

  • 💡 Medium: 1

This review was automatically generated by Gemini AI. Please review the suggestions carefully.

Comment thread app/main.py
from app.routes.aws_services_routes import router

app = FastAPI(**FASTAPI_CONFIG)
app = FastAPI(*FASTAPI_CONFIG

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The change from **FASTAPI_CONFIG (dictionary unpacking) to *FASTAPI_CONFIG (iterable unpacking) is likely a bug. FastAPI expects keyword arguments for its configuration (e.g., title, description, version). Passing an iterable will cause a TypeError unless FASTAPI_CONFIG was explicitly refactored to be a list/tuple of keyword arguments, which is non-standard for configuration objects.

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

Successfully merging this pull request may close these issues.

1 participant