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

ASF GitHub Bot commented on TINKERPOP-3024:
-------------------------------------------

andreachild commented on PR #3030:
URL: https://github.com/apache/tinkerpop/pull/3030#issuecomment-2651657259

   I see a reference to `has_key_` in gremlin-variants.asciidoc` that should be 
removed:
   
   ```
   In situations where Python reserved words and global functions overlap with 
standard Gremlin steps and tokens, those
   bits of conflicting Gremlin get an underscore appended as a suffix:
   
   *Steps* - <<all-step,all_()>>, <<and-step,and_()>>, <<any-step,any_()>>, 
<<as-step,as_()>>, <<filter-step,filter_()>>, <<from-step,from_()>>,
   <<has-step,has_key_>>, <<id-step,id_()>>, <<is-step,is_()>>, 
<<in-step,in_()>>, <<max-step,max_()>>,
   <<min-step,min_()>>, <<not-step,not_()>>, <<or-step,or_()>>, 
<<range-step,range_()>>, <<sum-step,sum_()>>,
   <<with-step,with_()>>
   ```




> Deprecate has_key_() for has_key() in python
> --------------------------------------------
>
>                 Key: TINKERPOP-3024
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3024
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: python
>    Affects Versions: 3.6.6
>            Reporter: Stephen Mallette
>            Priority: Major
>
> {{has_key_()}} was added to python because it was reserved on {{Dictionary}} 
> but that was removed in python 3. since TinkerPop doesn't support python 2 
> anymore there is little need for this difference anymore. deprecate the 
> underscore suffixed version and add the property {{has_key()}} version. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to