I don't know why we have this. Just doing `action = print` and then `action(chunk)` would do in the function itself. Maybe the author had bigger plans for this. _Originally posted by @nejch in https://github.com/python-gitlab/python-gitlab/pull/2488#discussion_r1103832704_