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: Added support for query params in python #541

Merged
merged 8 commits into from
Nov 28, 2023
Prev Previous commit
Next Next commit
fix: changed the example file
tiwarishubham635 committed Nov 9, 2023
commit f521837edab2b42aeed783afb247d914b4c7cc1a
2 changes: 2 additions & 0 deletions examples/python/twilio/rest/api/v2010/account/__init__.py
Original file line number Diff line number Diff line change
@@ -421,6 +421,7 @@ def create(
"X-Twilio-Webhook-Enabled": x_twilio_webhook_enabled,
}
)

payload = self._version.create(
method="POST", uri=self._uri, data=data, headers=headers
)
@@ -458,6 +459,7 @@ async def create_async(
"X-Twilio-Webhook-Enabled": x_twilio_webhook_enabled,
}
)

payload = await self._version.create_async(
method="POST", uri=self._uri, data=data, headers=headers
)