Skip to content

Deprecated coroutine #467

@albireox

Description

@albireox

Versions

  • Python: 3.8
  • OS: macOS 10.15
  • Pymodbus: 2.3.0
  • Modbus Hardware (if used): WAGO

Pymodbus Specific

  • Client: tcp - async

Description

Trying to import from pymodbus.client.asynchronous.asyncio import AsyncioModbusTcpClient produces a series of messages [WARNING]: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead (DeprecationWarning). Python 3.8 has deprecated the coroutine decorator. Also, there is a filter in pymodbus that always shows these warnings so it's not possible to suppress them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions