Yarik commited on
Commit
7833469
1 Parent(s): c0deafa

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -137,6 +137,7 @@ class ArgParser(argparse.ArgumentParser):
137
  api_key_header = APIKeyHeader(name="access_token", auto_error=False)
138
 
139
  def getAPIKey(api_key_header: str = Security(api_key_header)):
 
140
  if api_key_header == api_key:
141
  return api_key_header
142
  raise HTTPException(
 
137
  api_key_header = APIKeyHeader(name="access_token", auto_error=False)
138
 
139
  def getAPIKey(api_key_header: str = Security(api_key_header)):
140
+ print(api_key_header)
141
  if api_key_header == api_key:
142
  return api_key_header
143
  raise HTTPException(