Skip to content

Commit

Permalink
chore(plc4py): Fixed build wrong import was used re.Pattern instead o…
Browse files Browse the repository at this point in the history
…f typing.Pattern
  • Loading branch information
hutcheb committed Nov 12, 2023
1 parent 5b996a7 commit e08a16f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions sandbox/plc4py/plc4py/drivers/modbus/ModbusTag.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
#
import re
from dataclasses import dataclass
from re import Pattern
from typing import AnyStr
from typing import AnyStr, Pattern

from plc4py.api.exceptions.exceptions import PlcFieldParseException
from plc4py.api.messages.PlcField import PlcTag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def manual_test_plc_driver_modbus_connect():
assert not connection.is_connected()


async def Manual_test_plc_driver_modbus_read():
async def manual_test_plc_driver_modbus_read():
driver_manager = PlcDriverManager()
async with driver_manager.connection("modbus://127.0.0.1:5555") as connection:
with connection.read_request_builder() as builder:
Expand Down

0 comments on commit e08a16f

Please sign in to comment.