Skip to content

Commit 8e0e392

Browse files
committed
add username to filter endpoint with username
1 parent 31e5250 commit 8e0e392

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/shared.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ def refresh_sagemaker_endpoints(username):
335335

336336
if industrial_model != '':
337337
params = {
338-
'industrial_model': industrial_model
338+
'industrial_model': industrial_model,
339+
'username': username
339340
}
340341
response = requests.get(url=f'{api_endpoint}/endpoint', params=params)
341342
if response.status_code == 200:

0 commit comments

Comments
 (0)