Uploaded image for project: 'Nuxeo Python Client'
  1. Nuxeo Python Client
  2. NXPY-126

Allow several callables for transfer callbacks

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2
    • Component/s: None

      Description

      Idea

      Currently one can only pass 1 callable (function or method) for (down|up)load callback.
      An enhancement would be to allow to pass a set of callables if one wants to have more than one callback.

      The retrocompatibility will be kept.

      Why?

      Mainly for Nuxeo Drive which have a big method as callback and where too many things are mixed. Having 2 or 3 callbacks would help cleaning up the code and make it more readable and understandable.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h