Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Clarifai/clarifai-python
/ _auth_headers
Function
_auth_headers
scripts/key_for_tests.py:65–67 ·
view source on GitHub ↗
(session_token)
Source
from the content-addressed store, hash-verified
63
64
65
def
_auth_headers(session_token):
66
headers = {
"Content-Type"
:
"application/json"
,
"X-Clarifai-Session-Token"
: session_token}
67
return
headers
68
69
70
def
create_pat():
Callers
1
create_pat
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected