[ 
https://issues.apache.org/jira/browse/FLINK-8135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16471114#comment-16471114
 ] 

ASF GitHub Bot commented on FLINK-8135:
---------------------------------------

Github user walterddr commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5985#discussion_r187459062
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/AccumulatorsIncludeSerializedValueQueryParameter.java
 ---
    @@ -38,4 +38,10 @@ public String convertValueToString(Boolean value) {
        public Boolean convertStringToValue(String value) {
                return Boolean.valueOf(value);
        }
    +
    +   @Override
    +   public String getDescription() {
    +           return "Boolean value. If true then serialized user task 
accumulators will be included into a response. " +
    +                   "False by default.";
    --- End diff --
    
    "False by default." is confusing to me, is "false": the default value of 
the parameter is `false`, or "false": whether the task accumulator will be 
included or not depends on a "default" configuration from the task accumulator?


> Add description to MessageParameter
> -----------------------------------
>
>                 Key: FLINK-8135
>                 URL: https://issues.apache.org/jira/browse/FLINK-8135
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation, REST
>            Reporter: Chesnay Schepler
>            Assignee: Andrei
>            Priority: Major
>             Fix For: 1.5.0
>
>
> For documentation purposes we should add an {{getDescription()}} method to 
> the {{MessageParameter}} class, describing what this particular parameter is 
> used for and which values are accepted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to