File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- from tempo .utils import __notdltruntime
1
+ from tempo .utils import __not_dlt_runtime
2
2
3
3
from tempo .tsdf import TSDF
4
- if __notdltruntime ():
4
+ if __not_dlt_runtime ():
5
5
from tempo .utils import display
6
6
7
7
'''
Original file line number Diff line number Diff line change 17
17
"""
18
18
19
19
20
- def __notdltruntime ():
20
+ def __not_dlt_runtime ():
21
21
if type (get_ipython ()) != type (None ):
22
22
user_namespace_keys = list (get_ipython ().user_ns .keys ())
23
23
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):
70
70
# This below check is for ensuring compatibility with Databricks DLT runtimes
71
71
# This if logic ensures that the custom user's namespace of DLT runtimes
72
72
# 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 ():
74
74
method = get_ipython ().user_ns ['display' ]
75
75
76
76
You can’t perform that action at this time.
0 commit comments