Skip to content

Commit bfd029a

Browse files
Make fmt
1 parent d766f13 commit bfd029a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

databricks/sdk/dbutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def __init__(self) -> None:
210210
class RemoteDbUtils:
211211

212212
def __init__(self, config: "Config" = None):
213-
# Create a shallow copy of the config to allow the use of a custom
213+
# Create a shallow copy of the config to allow the use of a custom
214214
# user-agent while avoiding modifying the original config.
215215
self._config = Config() if not config else config.copy()
216216
self._config.with_user_agent_extra("dbutils", "remote")

tests/test_dbutils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,5 +297,5 @@ def test_dbutils_adds_user_agent(config):
297297

298298
# Create dbutils and check that user-agent includes sdk-feature/dbutils
299299
dbutils = RemoteDbUtils(config)
300-
301-
assert "sdk-feature/dbutils" in dbutils._config.user_agent
300+
301+
assert "dbutils/remote" in dbutils._config.user_agent

0 commit comments

Comments
 (0)