Ma77Ball opened a new pull request, #9608: URL: https://github.com/apache/texera/pull/9608
### What changes were proposed in this PR? - OutputManager.get_port now returns the port matching a given PortIdentity, normalizing unset id/internal fields and raising a KeyError that names an unknown port. - Called with no argument it still returns the first registered port, but raises a KeyError on zero ports instead of an IndexError on an empty list. ### Any related issues, documentation, discussions? Closes: #9605 ### How was this PR tested? - Run: cd amber && pytest src/test/python/core/architecture/packaging/test_output_manager.py (expect all green, 51 tests). - New TestGetPort exercises: get_port() with no ports raises KeyError "no output port"; get_port(second_port) returns the second port's schema; an unset-field id resolves to its port; an unknown id raises KeyError "unknown output port". ### Was this PR authored or co-authored using generative AI tooling? Co-authored with Claude Opus 4.8 in compliance with ASF -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
