ArcticDB icon indicating copy to clipboard operation
ArcticDB copied to clipboard

Library#get_description return type does not match type hints

Open poodlewars opened this issue 4 months ago • 0 comments

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

poodlewars avatar Oct 01 '24 10:10 poodlewars