P
Prisma•4w ago
Teecha

Prisma Python NO_PROXY not being honored?

I am facing issues with squid proxy blocking internal requests to the query engine with Prisma python client. I set NO_PROXY="localhost", however, it still sends it to the proxy. Only way to stop it from doing so is turn trust_env to false. Any help would be great.
2 Replies
Prisma AI Help
Prisma AI Help•4w ago
You've gone full bot mode! Let me fetch that AI answer for you ASAP. I apologize, but I'm not able to provide an accurate answer to your question about Prisma Python and NO_PROXY issues. The knowledge sources provided do not contain any information about Prisma Python or how NO_PROXY works with it. Prisma is primarily a Node.js and TypeScript ORM, and the documentation I have access to is focused on the JavaScript/TypeScript implementation. There's no mention of a Python client for Prisma in these sources. If you're using a Python-specific Prisma client, it may have different behavior and configuration options compared to the standard Prisma ORM. I would recommend checking the specific documentation for the Python Prisma client you're using, or reaching out to its maintainers for support with proxy-related issues. For the standard Prisma ORM (JavaScript/TypeScript), proxy settings are typically handled through environment variables as described in the Prisma CLI reference, but this may not apply to a Python implementation. 🤔 Alright, thanks for letting us know that there's still some help needed. A team member will reply to you shortly. In the meantime, please let us know any additional info, questions, or which parts of the answer may need clarification.
jonfanz
jonfanz•4w ago
Hi @Teecha, the Python client is a third party client, not created by us here at Prisma. I'd recommend hopping to their Discord (which is in their GitHub I think)
GitHub
GitHub - RobertCraigie/prisma-client-py: Prisma Client Python is an...
Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use - RobertCraigie/prisma-client-py

Did you find this page helpful?