HyukjinKwon opened a new pull request, #48794: URL: https://github.com/apache/arrow/pull/48794
### Rationale for this change Remove a TODO comment that has been impossible to implement. The TODO asked to "prevent duplicate keys" in `_ServerMiddlewareFactoryWrapper.start_call()`, but this is already guaranteed by Python dict semantics. The TODO was added in commit d1848c85864. ### What changes are included in this PR? Remove the TODO comment from `python/pyarrow/_flight.pyx`. The `factories` attribute has always been typed as `dict` (both in Cython `cdef` and the `__init__` type hint), which inherently prevents duplicate keys. ### Are these changes tested? I did not test. ### Are there any user-facing changes? No. -- 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]
