Skip to content

Commit 4d899ca

Browse files
authored
Merge branch 'main' into feature/pluginActions-CMEM-5576
2 parents e7c31d1 + 265fb40 commit 4d899ca

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99
### Added
1010

1111
- Custom actions for Workflow plugins (CMEM-5576).
12+
- Added explicit_schema parameter to FlexibleOutputSchema (CMEM-6444).
1213

1314
## [4.9.0] 2025-02-20
1415

cmem_plugin_base/dataintegration/ports.py

+7
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,15 @@ class FlexibleSchemaPort(Port):
2222
Flexible input ports will adapt the schema to the connected output.
2323
Flexible output ports will adapt the schema to the connected input.
2424
It is not allowed to connect two flexible ports.
25+
26+
:param explicit_schema: Indicates whether an output port has an explicitly defined and quickly
27+
retrievable schema (like CSV). This allows for connecting it directly to
28+
flexible input ports in which case the explict schema will be used.
2529
"""
2630

31+
def __init__(self, explicit_schema: bool = False):
32+
self.explicit_schema = explicit_schema
33+
2734

2835
class UnknownSchemaPort(Port):
2936
"""Port for which the schema is not known in advance.

0 commit comments

Comments
 (0)