You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Igal Shilman (Jira)" <ji...@apache.org> on 2020/05/14 13:02:00 UTC

[jira] [Created] (FLINK-17690) Python function wrapper omits docstr

Igal Shilman created FLINK-17690:
------------------------------------

             Summary: Python function wrapper omits docstr
                 Key: FLINK-17690
                 URL: https://issues.apache.org/jira/browse/FLINK-17690
             Project: Flink
          Issue Type: Improvement
          Components: Stateful Functions
            Reporter: Igal Shilman


Statefun Python SDK has a connivance bind method, that wraps a functions.

The [wrapper|https://github.com/apache/flink-statefun/blob/master/statefun-python-sdk/statefun/core.py#L182] would omit the docstr of the wrapper function. A common practice would be to use [https://docs.python.org/3/library/functools.html#functools.wraps]

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)