We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74fc580 commit 50969c2Copy full SHA for 50969c2
src/sempy_labs/_sql_endpoints.py
@@ -128,10 +128,7 @@ def refresh_sql_endpoint_metadata(
128
else:
129
raise ValueError("Invalid type. Must be 'Lakehouse' or 'MirroredDatabase'.")
130
131
- payload = None
132
- timeout_unit = timeout_unit.capitalize()
133
- if timeout_unit != "Minutes" and timeout_value != 15:
134
- payload = {"timeout": {"timeUnit": timeout_unit, "value": timeout_value}}
+ payload = {"timeout": {"timeUnit": timeout_unit, "value": timeout_value}}
135
136
result = _base_api(
137
request=f"v1/workspaces/{workspace_id}/sqlEndpoints/{sql_endpoint_id}/refreshMetadata",
0 commit comments