Skip to content

Commit a44a25f

Browse files
author
Ashutosh Tiwari
committed
print config settings in config module
1 parent a1e78a4 commit a44a25f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

graph_ml/utils/config.py

+10
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,13 @@ def get_formatted_os():
3737
return "MacOS"
3838
assert False, f"Unsupported platform: {PLATFORM}"
3939
return None
40+
41+
variables = dir()
42+
43+
def print_variables():
44+
for var in variables:
45+
if var.isupper():
46+
print(f"{var}: {eval(var)}")
47+
48+
# probably should be moved to logger module
49+
print_variables()

0 commit comments

Comments
 (0)