This commit is contained in:
Михаил Капелько
2024-01-08 17:56:57 +03:00
parent a35ffcfbd4
commit 00a9a25997
4 changed files with 6 additions and 4 deletions

View File

@@ -4,9 +4,7 @@ def pipeBusSource(name, entity, busKey, structure, fmt):
valueType = structure.model.fields[name][0]
print(f"pipeBS-1 name: '{name}'")
if isPipeMany(name, entity):
itemType = structure.model.fields[key][0]
valueType = f"MPAK.Many<{itemType}>"
print(f"pipeBS-2 name: '{name}'")
valueType = f"MPAK.Many<{valueType}>"
return fmt \
.replace("%BUS_KEY%", busKey) \