Skip to content

Return a list of EntityProxies when FunctionImport return type is a Collection#298

Open
Ixaruz wants to merge 1 commit intoSAP:masterfrom
Ixaruz:PythonListFromCollectionInFunctionImport
Open

Return a list of EntityProxies when FunctionImport return type is a Collection#298
Ixaruz wants to merge 1 commit intoSAP:masterfrom
Ixaruz:PythonListFromCollectionInFunctionImport

Conversation

@Ixaruz
Copy link
Copy Markdown

@Ixaruz Ixaruz commented Apr 17, 2026

What the title says.

I had to rename the EntitySet of the FunctionImport in the test metadata.xml to not include the namespace, or else the constructor of EntityProxy would be unable to find the right entity set...

since the EntitySet in the FunctionImport of get_max also was just "TemperatureMeasurements" (not "EXAMPLE_SRV.TemperatureMeasurements"), I assume it was just an oversight in the xml (as it wasn't tested before).

I don't know if my "fix" approach is too short sighted, I just wanted to provide potential fixes, as we needed them in our production.

@cla-assistant
Copy link
Copy Markdown

cla-assistant bot commented Apr 17, 2026

CLA assistant check
All committers have signed the CLA.

@Ixaruz Ixaruz force-pushed the PythonListFromCollectionInFunctionImport branch from 7d183de to 3d5ea27 Compare April 17, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant