Skip to content

Commit

Permalink
fix: convert questionary.Form to Mapping before creating project context
Browse files Browse the repository at this point in the history
Signed-off-by: Yagiz Degirmenci <[email protected]>
  • Loading branch information
ycd committed Sep 2, 2021
1 parent d17f3e5 commit e4c362a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage_fastapi/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def startproject(
pre_commit=binary_question("pre commit"),
docker=binary_question("docker"),
database=question(Database),
)
).ask()
context = ProjectContext(name=name, **result)
else:
context = ProjectContext(
Expand Down

3 comments on commit e4c362a

@Kludex
Copy link
Collaborator

@Kludex Kludex commented on e4c362a Sep 2, 2021

Choose a reason for hiding this comment

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

Maybe this is why I couldn't make the test pass... 🤔

@ycd
Copy link
Owner Author

@ycd ycd commented on e4c362a Sep 2, 2021

Choose a reason for hiding this comment

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

Ohhhh probably, wish i created PR for this 😞

@Kludex
Copy link
Collaborator

@Kludex Kludex commented on e4c362a Sep 2, 2021

Choose a reason for hiding this comment

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

I've checked, nop. Same issue. :P

Please sign in to comment.