palantir-python-sdk
palantir-python-sdk copied to clipboard
Double read() required for unstructured DATASETS
I have been reviewing the examples in the README and wanted to try READ/WRITE of data stored in unstructured datasets. Specifically testing out the example seen here. I have a very basic DATASET set up on Foundry/NIDAP which contains a .txt and a .png file, seen below:

Showing the list of files in the DATASET works great. As seen below:

However, the next step I am trying is to read the string from within the .txt file. Following the example I receive the following:

However, through trial and error I found that adding another .read() at the end, gives me the output I expect.

So my question is there a problem with the way I have set up my DATASET? Is the SDK example out of date? Let me know if there is something I am missing here. Thank you so much for your attention.