You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "UnityLung (Jira)" <ji...@apache.org> on 2020/05/22 05:38:00 UTC
[jira] [Commented] (FLINK-17690) Python function wrapper omits
docstr
[ https://issues.apache.org/jira/browse/FLINK-17690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113768#comment-17113768 ]
UnityLung commented on FLINK-17690:
-----------------------------------
Hi,
I would like to fix this.
Could you please assign it to me?
Thanks a lot.
> 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
> 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)