Skip to content

Commit 074393f

Browse files
committed
remove comments
1 parent a8d4e67 commit 074393f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

centml/sdk/ops.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ def get_centml_ops_client():
204204
# Update/delete requires platform-api-ops-client
205205
response = ops_client.update_cserve_recipes(cluster_id=1001, platform_data=data)
206206
"""
207-
# Get token once and reuse it to avoid potential hanging on second call
208207
access_token = auth.get_centml_token()
209208

210209
configuration = platform_api_python_client.Configuration(
@@ -220,7 +219,7 @@ def get_centml_ops_client():
220219
if OPS_CLIENT_AVAILABLE:
221220
ops_configuration = platform_api_ops_client.Configuration(
222221
host=settings.CENTML_PLATFORM_API_URL,
223-
access_token=access_token, # Reuse the same token
222+
access_token=access_token,
224223
)
225224
with platform_api_ops_client.ApiClient(ops_configuration) as ops_client:
226225
ops_api = OPSApi(ops_client)

0 commit comments

Comments
 (0)