Skip to content

Commit 7ea5918

Browse files
committed
Fix mypy type error:
src/databricks/sql/thrift_backend.py:356: error: Not all arguments converted during string formatting
1 parent 64e0f29 commit 7ea5918

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmdexec/clients/python/src/databricks/sql/thrift_backend.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ def _check_initial_namespace(self, catalog, schema, response):
353353
if not response.canUseMultipleCatalogs:
354354
raise InvalidServerResponseError(
355355
"Unexpected response from server: Trying to set initial catalog to {}, "
356-
+ "but server does not support multiple catalogs.".format(catalog)
357-
) # type: ignore
356+
+ "but server does not support multiple catalogs.".format(catalog) # type: ignore
357+
)
358358

359359
def _check_session_configuration(self, session_configuration):
360360
# This client expects timetampsAsString to be false, so we do not allow users to modify that

0 commit comments

Comments
 (0)