Skip to content

Commit ed6cda0

Browse files
committed
use socket gethostname for unique id
1 parent 54d03dd commit ed6cda0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbt/adapters/sqlite/connections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
from contextlib import contextmanager
33
from dataclasses import dataclass, field
44
import glob
5-
import json
65
import os.path
76
import sqlite3
7+
from socket import gethostname
88
from typing import Optional, Tuple, Any, Dict, List
99

1010

@@ -38,7 +38,7 @@ def unique_field(self):
3838
Hashed and included in anonymous telemetry to track adapter adoption.
3939
Pick a field that can uniquely identify one team/organization building with this adapter
4040
"""
41-
return json.dumps(self.schemas_and_paths, sort_keys=True)
41+
return gethostname()
4242

4343
def _connection_keys(self):
4444
""" Keys to show when debugging """

0 commit comments

Comments
 (0)