Upload.exists

Upload.exists() → bool

Check whether the upload exists.

Returns:

bool

Examples

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

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

# True or False, depending on whether some_file.csv exists as an upload on the table
print(upload.exists()) 

Last updated

Was this helpful?