Skip to content

Signature Error for arcgis.gis._impl._content_manager.Folder.add in documentation #2273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cookiedan42 opened this issue Apr 29, 2025 · 1 comment
Labels

Comments

@cookiedan42
Copy link

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

@kgalliher
Copy link
Collaborator

Looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants