FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
code-examples-python/app/monitor/utils.py at master · docusign/code-examples-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
docusign
/
code-examples-python
Public
Notifications
You must be signed in to change notification settings
Fork
56
Star
55
Code
Issues
1
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
code-examples-python
/
app
/
monitor
/
utils.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (10 loc) · 392 Bytes
Breadcrumbs
code-examples-python
/
app
/
monitor
/
utils.py
Copy path
File metadata and controls
14 lines (10 loc) · 392 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from
docusign_monitor
import
ApiClient
from
..
ds_config
import
DS_CONFIG
def
create_monitor_api_client
(
access_token
):
"""Create API client and construct API headers"""
api_client
=
ApiClient
(
host
=
DS_CONFIG
[
"monitor_api_client_host"
])
api_client
.
set_default_header
(
header_name
=
"Authorization"
,
header_value
=
f"Bearer
{
access_token
}
"
)
return
api_client
Back
|
FazBrowse Home
|
New Git URL