Skip to content

Commit

Permalink
add username to filter endpoint with username
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyongliang committed Mar 16, 2023
1 parent 31e5250 commit 8e0e392
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ def refresh_sagemaker_endpoints(username):

if industrial_model != '':
params = {
'industrial_model': industrial_model
'industrial_model': industrial_model,
'username': username
}
response = requests.get(url=f'{api_endpoint}/endpoint', params=params)
if response.status_code == 200:
Expand Down

0 comments on commit 8e0e392

Please sign in to comment.