Drop the influx clients nothing ever held

`__slots__` and `__init__` carried `_write_client` and `_query_client` as
lazy state no method read.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KYM38KSb4V4v2T71eifnZv
This commit is contained in:
2026-08-30 17:06:07 +02:00
co-authored by Claude Opus 5
parent 0c17f1fea9
commit 33d3e71b20
-6
View File
@@ -174,8 +174,6 @@ class InfluxDbNode(Node):
"timeout", "timeout",
"writes", "writes",
"queries", "queries",
"_write_client",
"_query_client",
) )
class Params(BaseModel): class Params(BaseModel):
@@ -231,10 +229,6 @@ class InfluxDbNode(Node):
self.writes = cfg.writes self.writes = cfg.writes
self.queries = cfg.queries self.queries = cfg.queries
# Lazy-initialized clients
self._write_client = None
self._query_client = None
# Set default name # Set default name
if name is None: if name is None:
name = f"influxdb_{self.bucket}" name = f"influxdb_{self.bucket}"