We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 792721c commit a3dcf5aCopy full SHA for a3dcf5a
2 files changed
custom_templates/configuration.mustache
@@ -652,7 +652,7 @@ conf = {{{packageName}}}.Configuration(
652
auth_header = f"Basic {_encoded_string}"
653
resp = urllib3.request(
654
'POST',
655
- 'https://api.bandwidth.com/api/v1/oauth2/token',
+ {{#authMethods}}{{#isOAuth}}'{{tokenUrl}}',{{/isOAuth}}{{/authMethods}}
656
headers={
657
'Authorization': auth_header,
658
'Content-Type': 'application/x-www-form-urlencoded',
test-requirements.txt
@@ -1,8 +1,8 @@
1
pytest >= 7.2.1
2
pytest-cov >= 2.8.1
3
-pyhamcrest>=2.1.0
+pyhamcrest >= 2.1.0
4
tox >= 3.9.0
5
flake8 >= 4.0.0
6
types-python-dateutil >= 2.8.19.14
7
mypy >= 1.5
8
-zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
+zipp >= 3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
0 commit comments