Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7074

Qpid.messaging.transport should not conditionally define classes

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.32
    • Fix Version/s: None
    • Component/s: Python Client
    • Labels:
      None

      Description

      There are better patterns to use to provide behaviors based on available dependencies than conditionally defining classes on import errors. This needs some general refactoring.

      https://github.com/apache/qpid/blob/4da5242913b3bb6c2fc478bc18fe8dc13fa74833/qpid/python/qpid/messaging/transports.py#L57-L231

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bmbouter Brian Bouterse
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: