Github user zentol commented on the issue:
https://github.com/apache/flink/pull/5580
Not supporting directories would be a regression regardless of whether the
Python API needs it or not.
We either have to add a new method with different behavior, or zip
directories underneath before uploading them.---
