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

🔧 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 and ensure logs are printed immediately with PYTHONUNBUFFERED=1 #208

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

estebanx64
Copy link
Contributor

Added PYTHONUNBUFFERED=1 to unbuffer python logs and PYTHONDONTWRITEBYTECODE=1 to avoid create .pyc files

Added PYTHONUNBUFFERED=1 to unbuffer python logs and PYTHONDONTWRITEBYTECODE=1 to avoid create .pyc files
@tiangolo tiangolo changed the title 🔧 Added PYTHONUNBUFFERED=1 and PYTHONDONTWRITEBYTECODE=1 👷 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 and ensure logs are printed immediately with PYTHONUNBUFFERED=1 Mar 21, 2024
@tiangolo tiangolo changed the title 👷 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 and ensure logs are printed immediately with PYTHONUNBUFFERED=1 🔧 Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1 and ensure logs are printed immediately with PYTHONUNBUFFERED=1 Mar 21, 2024
@tiangolo tiangolo merged commit e974451 into tiangolo:master Mar 21, 2024
7 checks passed
@tiangolo
Copy link
Owner

Great, thank you! 🍰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants