Assigning to graph_protocol in GraphOptions converts from str to bytes leading to comparison failure when trying identify protocol

Description

Assigning to graph_protocol in a GraphOptions instance turns a str into a bytes.

This causes comparison involving the protocol version to fail in some cases causing fallback to a different version.

Currently working around it by using code such as:

Environment

Reproduced under macOS 10.14.2 with Python 3.7.1

and Ubuntu 17.04 with Python 3.5.3

Pull Requests

None

Status

Assignee

Unassigned

Reporter

James Farrow

Fix versions

None

Labels

Reproduced in

DSE 2.7.0
GRAPH 1.5.0

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Components

Sprint

Affects versions

Priority

Minor
Configure