Skip to content

Commit 2a3e195

Browse files
changed the name to snake case
1 parent a133390 commit 2a3e195

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/tempo/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from tempo.utils import __notdltruntime
1+
from tempo.utils import __not_dlt_runtime
22

33
from tempo.tsdf import TSDF
4-
if __notdltruntime():
4+
if __not_dlt_runtime():
55
from tempo.utils import display
66

77
'''

python/tempo/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"""
1818

1919

20-
def __notdltruntime():
20+
def __not_dlt_runtime():
2121
if type(get_ipython()) != type(None):
2222
user_namespace_keys = list(get_ipython().user_ns.keys())
2323
check_bool = (('create_dlt_table_fn' not in user_namespace_keys) and ('dlt_sql_fn' not in user_namespace_keys))
@@ -70,7 +70,7 @@ def display_unavailable(df):
7070
# This below check is for ensuring compatibility with Databricks DLT runtimes
7171
# This if logic ensures that the custom user's namespace of DLT runtimes
7272
# which doesn't have PythonShell's Display object in the namespace doesn't result in an error.
73-
if __notdltruntime():
73+
if __not_dlt_runtime():
7474
method = get_ipython().user_ns['display']
7575

7676

0 commit comments

Comments
 (0)