Skip to content

Add dynamic FastAPI debug config - #19505

Merged
Paula (paulacamargo25) merged 2 commits into
microsoft:mainfrom
paulacamargo25:19452-Add-FastApi-debug-config
Jul 21, 2022
Merged

Add dynamic FastAPI debug config#19505
Paula (paulacamargo25) merged 2 commits into
microsoft:mainfrom
paulacamargo25:19452-Add-FastApi-debug-config

Conversation

@paulacamargo25

Copy link
Copy Markdown

closed: #19452

@paulacamargo25Paula (paulacamargo25) added area-debugging feature-request Request for new features or functionality skip tests Updates to tests unnecessary labels Jul 20, 2022
@paulacamargo25Paula (paulacamargo25) added this to the July 2022 milestone Jul 20, 2022

@karrtikrKartik Raj (karrtikr) 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.

Thanks for taking care of Django as well, LGTM.

@paulacamargo25
Paula (paulacamargo25) merged commit 7c3498c into microsoft:mainJul 21, 2022
private async getFastApiPath(folder: WorkspaceFolder) {
const possiblePaths = await this.getPossiblePaths(folder, ['main.py', 'app.py', '*/main.py', '*/app.py']);
const regExpression = /app\s*=\s*FastAPI\(/;
const flaskPaths = await asyncFilter(possiblePaths, async (possiblePath) =>

Choose a reason for hiding this comment

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

Fastapi paths

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-debuggingfeature-requestRequest for new features or functionalityskip testsUpdates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement automatic configuration for FastAPI

3 participants

@paulacamargo25@Kludex@karrtikr