@coroutine decorator is deprecated in Python 3.8

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Running Motor 2.1 with Python 3.8 gives deprecation warnings that state to use "async def" instead of "@coroutine" decorator

       

      DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead

       

      Thank you

            Assignee:
            Unassigned
            Reporter:
            Teodor Scorpan
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: