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

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

ryn5 opened a new pull request, #2494:
URL: https://github.com/apache/tinkerpop/pull/2494

   https://issues.apache.org/jira/browse/TINKERPOP-3054
   Error was being caused by uuid constructor/validator receiving `request_id` 
from message as UUID instead of string.  Added str() guard to uuid validation 
and removed the type conversion on deserialization to keep `request_id` 
consistently of type UUID.




> RequestId serialization broken in Python GLV
> --------------------------------------------
>
>                 Key: TINKERPOP-3054
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3054
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 3.6.6, 3.7.1
>            Reporter: Valentyn Kahamlyk
>            Priority: Blocker
>
> `g.with_('requestId', uuid.uuid1()).V().count().toList()`
> failed with error `AttributeError: 'UUID' object has no attribute 'replace'`
> in line 
> `uuid.UUID(request_id) # Checks for proper UUID or else server will return an 
> error.`



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

Reply via email to