From 4af01f520fab87a1b0e572d7da63d5e76018f26d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Thu, 28 Dec 2023 14:50:59 +0300 Subject: [PATCH] d --- Utilities/platform/2/generation/pipeSource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/platform/2/generation/pipeSource.py b/Utilities/platform/2/generation/pipeSource.py index a91a2fc..ac15fcd 100644 --- a/Utilities/platform/2/generation/pipeSource.py +++ b/Utilities/platform/2/generation/pipeSource.py @@ -18,7 +18,7 @@ def pipeSource(name, entity, structure): elif src.startswith("K."): busKey = src busValueType = structure.model.fields[name][0] - src = f"Bus.events.compactMap { Bus.convertKeyValue({busKey}.rawValue, \$0) }.map { (k: String, v: {busValueType}) in v }.eraseToAnyPublisher()" + src = "Bus.events.compactMap { Bus.convertKeyValue(" + busKey + ".rawValue, $0) }.map { (k: String, v: " + busValueType + ") in v }.eraseToAnyPublisher()" # Значение по умолчанию. elif src == default: return default + "." + name