Merge pull request #30 from Aignosi/fix/SAM0123-231

Remove asyncua Version Constraint
This commit is contained in:
vitor-aignosi
2026-07-24 08:24:43 -03:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -162,6 +162,7 @@ class OpcManager(SientiaMonitoring):
cert = str(Path(self.cert_path)) if self.cert_path else None
private_key = str(Path(self.private_key_path)) if self.private_key_path else None
server_cert = str(Path(self.server_cert_path)) if self.server_cert_path else None
assert cert is not None and private_key is not None
if self.client:
self.client.application_uri = self.server_uri
@@ -209,7 +210,7 @@ class OpcManager(SientiaMonitoring):
assert self.client is not None # Informa ao mypy que client não é None
self.client.name = self.pod_id
self.client.application_name = self.pod_id
self.client.description = self.pod_id
pod_uri = self.pod_id.replace('-', ':')
self.client.application_uri = pod_uri
self.client.product_uri = pod_uri

View File

@@ -1,4 +1,4 @@
asyncua==1.1.5
asyncua
redis
sientia_do==1.12.1
prometheus_client