scylladb / python-driver

ScyllaDB Python Driver, originally DataStax Python Driver for Apache Cassandra
https://python-driver.docs.scylladb.com
Apache License 2.0
70 stars 42 forks source link

docs: Issue in page User Defined Types #294

Open slayton opened 7 months ago

slayton commented 7 months ago

I would like to report an issue in page https://python-driver.docs.scylladb.com/3.26.5-scylla/user-defined-types

Problem

The final code block on the page has

print(address)  # prints "Address(street='123 Main St.', zipcode=78723)"
street = address.street
zipcode = address.street

Suggest a fix

I believe there is a typo and the last line should be changed to:

zipcode = address.zipcode