- class ScyllaContainer(image='scylladb/scylla:latest', ports_to_expose=(9042,))ΒΆ
Scylla database container.
Example
>>> from testcontainers.scylla import ScyllaContainer >>> with ScyllaContainer() as scylla: ... cluster = scylla.get_cluster() ... with cluster.connect() as session: ... result = session.execute( ... "CREATE KEYSPACE keyspace1 WITH replication " ... "= {'class': 'SimpleStrategy', 'replication_factor': '1'};")