Skip to content

Project#upload does not return anything #254

Description

@AlainPilon

Why does Project#single_upload return a response while upload returns nil ?

Is this an oversight or expected behaviour?

Activity

  1. davidnichols-ops commented on Jun 30, 2026

    @davidnichols-ops
    Contributor

    Opened #502 to address this. Project.upload() now returns the single_upload() result dict (image id, annotation, timing, retry counts) for single-file uploads, and a list of such dicts for directory uploads. Previously it discarded the return value and always returned None. Backwards-compatible — callers that ignore the return value are unaffected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions