speakeasy-api / speakeasy

Build APIs your users love ❤️ with Speakeasy. ✨ Polished and type-safe SDKs. 🌐 Terraform providers and Contract Tests for your API. OpenAPI native.
https://speakeasyapi.dev/
Other
205 stars 14 forks source link

[SPE-4470] Default to env var when api_key param is not passed in Python SDK #1115

Open rhjsong opened 1 day ago

rhjsong commented 1 day ago

Noticed that it doesn't default to env var when creating Python SDK client without api_key param but it does for Typescript SDK. What is the expected behavior?

SPE-4470

simplesagar commented 1 day ago

Hi @rhjsong i think you're right. I don’t have a good reason for the default. We’ll investigate whether we can change that. Thanks !