scylladb / python-driver

ScyllaDB Python Driver, originally DataStax Python Driver for Apache Cassandra

Home Page:https://python-driver.docs.scylladb.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docs: Issue in page ScyllaDB Cloud Serverless

sagarjanilb opened this issue · comments

I would like to report an issue in page https://python-driver.docs.scylladb.com/3.26.2-scylla/scylla-cloud-serverless

Problem

scylla_cloud parameter gives an error while trying to connect to cluster. I also tried installing scylla-driver 3.26.2 but the error still persists.
Below is error message

    return Cluster(
  File "cassandra/cluster.py", line 1073, in cassandra.cluster.Cluster.__init__
TypeError: __init__() got an unexpected keyword argument 'scylla_cloud'

Suggest a fix

This keyword is present in the code, I suspect that wrong version of the driver is getting imported on your machine. Could you please paste the following into the Python console?

import cassandra
print(cassandra.__version__)

It should print 3.26.2