ArcticDB
ArcticDB copied to clipboard
Library#get_description return type does not match type hints
Describe the bug
No response
Steps/Code to Reproduce
symbol = "sorted_test"
df = pd.DataFrame({"column": [1, 2, 3, 4]}, index=pd.date_range(start="1/1/2018", end="1/4/2018"))
df.index.name = "bananas"
lib.write(symbol, df)
desc = lib.get_description(symbol)
Expected Results
desc.index is a NameWithDType, so, according to its type hints, dtype and name should be str. Instead they are List[str]
and List[TypeDescriptor]
.
OS, Python Version and ArcticDB Version
Backend storage used
No response
Additional Context
No response