Describe the bug
add method for Folder object claims to return Future | Job, but returns Job, breaking code which relied on it being a Future
To Reproduce
Steps to reproduce the behavior:
item_folder = folders_obj.get(folder=portal_foldername)
add_job = item_folder.add(item_properties=item_props, file=tempLocalFilePath)
# expect add_job to be a concurrent.futures.Future object
add_job.done()
error:
AttributeError: 'Job' object has no attribute 'done'
Expected behavior
A clear and concise description of what you expected to happen.
Platform (please complete the following information):
- OS: docker arm64
- Python API Version 2.4.1 on python 3.12
Additional context
documentation also does not link to Job object, making using this method challenging to follow
Describe the bug
add method for Folder object claims to return
Future | Job, but returns Job, breaking code which relied on it being a FutureTo Reproduce
Steps to reproduce the behavior:
error:
Expected behavior
A clear and concise description of what you expected to happen.
Platform (please complete the following information):
Additional context
documentation also does not link to
Jobobject, making using this method challenging to follow