Commit ec1c86b9 authored by Martin Manchev's avatar Martin Manchev

[Fix] URL None exception ...

parent 637fcdd9
...@@ -35,7 +35,7 @@ ERP5_REQUEST_API = "ERP5Site_handleOPCUARequest" ...@@ -35,7 +35,7 @@ ERP5_REQUEST_API = "ERP5Site_handleOPCUARequest"
# ERP5 backend storage for OPCUA Document # ERP5 backend storage for OPCUA Document
@dataclass(frozen=True) @dataclass(frozen=True)
class ERP5Handler(asyncua.common.subscription.SubHandler): class ERP5Handler(asyncua.common.subscription.SubHandler):
url: str url = None
session: requests.Session = field(default_factory=requests.Session) session: requests.Session = field(default_factory=requests.Session)
@property @property
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment