Upload.get

Upload.get() → self

Fetches the upload, after which upload.properties will contain a dict with entries corresponding to the properties on the upload.get resource definition. Will raise an error if the upload does not exist.

Returns

self (an Upload)

Examples

dataset = redivis.user("user_name").dataset("dataset_name", version="next")
table = dataset.table("table_name")

upload = table.upload("some_file.csv")

# Print a dict containing the properties of the upload
upload.get()
print(upload.properties) 

Last updated

Was this helpful?