Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More deprecations and several fixes for v1.5.1 (#318)
* resilience against devops api not returning keyspace/keyspaces in the GET databases/ID endpoint * changesfile * Consistent handling of deletedCount=-1 from the API (always returned as-is) * bump to 1.5.1 + deprecate all set_caller calls * remove ragstack detection * deprecate caller_name/_version in favor of callers everywhere; tests to augment still * callers is Sequence; adjusted test_admin_conversions * adapted test_collections x2 * split caller_x vs callers in all unit tests * callers deprecation and identity tests completed * docstring examples ditch caller_name/caller_version altogether * list_databases + async have options and pagination * remove stray comment * docstr and py3.8 compliant type * reshuffled client.py to endpoint-first/then id + code optimization * better handling of no-endpoint, no-id init params for client.py * WIP on reshuffling admin which retain id/region as a second option * admin reshuffled: get_db_admin, get[async]database allow endpt AND id * endpoint-first flows, remove constructor unwanted params; logic cleanup and adjust unit tests * client.py deprecates use of id in get[async]database * all tests pass * rework cursors: state is enum; aligned state names * deprecation of Cursor.retrieved * cursor: deprecate 'collection' property for 'data_source' * changesfile * take cassio dependency out (which also removes numpy)
- Loading branch information