MCPcopy Create free account
hub / github.com/datapane/datapane / print_debug_info

Function print_debug_info

python-client/src/datapane/client/utils.py:91–106  ·  view source on GitHub ↗

Print useful debugging information

()

Source from the content-addressed store, hash-verified

89
90
91def print_debug_info():
92 """Print useful debugging information"""
93 fields = dict()
94
95 # Known dependencies
96 import numpy as np
97 import pandas as pd
98 import pyarrow as pa
99
100 fields["pandas_version"] = pd.__version__
101 fields["numpy_version"] = np.__version__
102 fields["pyarrow_version"] = pa.__version__
103
104 print("Datapane Debugging Info")
105 for (k, v) in fields.items():
106 print(f"{k}: {v}")
107
108
109################################################################################

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected