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/22 13:11:00 UTC
[jira] [Assigned] (FLINK-17690) Python function wrapper omits
docstr
[ https://issues.apache.org/jira/browse/FLINK-17690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igal Shilman reassigned FLINK-17690:
------------------------------------
Assignee: UnityLung
> 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
> Assignee: UnityLung
> Priority: Minor
>
> 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)