Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix copier to handle string vars with spaces in quotes #631

Merged
merged 7 commits into from Mar 7, 2024

Conversation

estebanx64
Copy link
Collaborator

No description provided.

@tiangolo
Copy link
Owner

tiangolo commented Mar 7, 2024

Thanks! I updated it to inline the quotes using an f-string with f"{upper_key}={value!r}", the trick is the !r that makes it print the quotes. 🤓

@tiangolo tiangolo changed the title Fixed copier to handle string vars with spaces without quotes 🐛 Fix copier to handle string vars with spaces in quotes Mar 7, 2024
@tiangolo tiangolo enabled auto-merge (squash) March 7, 2024 17:50
@tiangolo tiangolo merged commit a44d2fd into master Mar 7, 2024
1 check passed
@tiangolo tiangolo deleted the FL-37-handle-string-with-spaces-copier branch March 7, 2024 17:51
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.

None yet

2 participants