[ 
https://issues.apache.org/jira/browse/CASSPYTHON-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bret McGuire updated CASSPYTHON-20:
-----------------------------------
    Fix Version/s: 4.0.0

> Cleanup ToDo's
> --------------
>
>                 Key: CASSPYTHON-20
>                 URL: https://issues.apache.org/jira/browse/CASSPYTHON-20
>             Project: Apache Cassandra Python driver
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Brad Schoening
>            Priority: Normal
>             Fix For: 4.0.0
>
>
> There are about 30 TODO issues in the driver code 
> {code:bash}
> cassandra/auth.py:        # TODO remove next major
> cassandra/auth.py:# TODO remove me next major
> cassandra/cluster.py:                self.profile_manager.check_supported()  
> # todo: rename this method
> cassandra/cluster.py:            # TODO: make this timeout configurable 
> somehow?
> cassandra/cluster.py:                    # TODO remove host pool again ???
> cassandra/cluster.py:        # TODO only overridden to add logging, so add 
> logging
> cassandra/cluster.py:        # TODO: normalize handling of retry policy and 
> row factory
> cassandra/cluster.py:            # TODO get connectTimeout from cluster 
> settings
> cassandra/cluster.py:        # TODO: When timers are introduced, just make 
> this wait
> cassandra/cluster.py:        # TODO: When timers are introduced, just make 
> this wait
> cassandra/connection.py:        # TODO next major... move this class so we 
> don't need this kind of hack
> cassandra/connection.py:        # TODO next major, create a 
> TranslatedEndPoint type
> cassandra/connection.py:        # TODO next major rename host to endpoint and 
> remove port kwarg.
> cassandra/connection.py:            # TODO: would it make sense to just have 
> a driver-global TPE?
> cassandra/connection.py:                        # TODO: move this, along with 
> connection locks in pool, down into Connection
> cassandra/encoder.py:            tuple: self.cql_encode_list_collection,  # 
> TODO: change to tuple in next major
> cassandra/metadata.py:                if not key_aliases:  # TODO are we 
> checking the right thing here?
> cassandra/metadata.py:        # todo: this duplicates V3; we should find a 
> way for _query_all methods
> cassandra/metadata.py:# TODO next major reorg
> cassandra/metadata.py:        # TODO next major, change the parsing logic to 
> avoid any
> cassandra/metrics.py:        # TODO, to be removed in 4.0
> cassandra/policies.py:    # TODO: max_attempts is 64 to preserve legacy 
> default behavior
> cassandra/policies.py:        # TODO revisit this for the next major
> cassandra/policies.py:        # TODO remove next major since execute(..., 
> host=XXX) is now available
> cassandra/policies.py:# TODO for backward compatibility, remove in next major
> cassandra/pool.py:        else:  # TODO Backward compatibility, remove next 
> major
> cassandra/query.py:    column_metadata = None  #TODO: make this bind_metadata 
> in next major
> cassandra/query.py:    serial_consistency_level = None  # TODO never used?
> cassandra/query.py:# TODO remove next major since we can target using the 
> `host` attribute of session.execute
> cassandra/segment.py:    TODO: here to avoid import cycles with 
> cassandra.connection. In the next
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to