Merge dev branch into main#3
Merged
Merged
Conversation
Changes ======= * Basic query functionality is available for both sync and async APIs * Rough handling of timeouts and cancellation is available (but more work needs to be done) * Error handling is incomplete * Linting is not in place (and will require changes) * Typing is not in place (and will require changes) * Test suite is minimal
Changes ======= * Static type checking in place (via mypy) * Baseline unit tests available and passing * Baseline integration query tests available and passing
Changes ======= * Better handling of timeout errors * Update sync tests to handle various forms (normal, lazy, cancellable)
Changes ======= * PYCO-58: Timeout tests * PYCO-57: Cancellation tests
Changes ======= * Introduce request_context to handle bulk of logic for a request (state, retries, etc.) * Increase test coverage * Apply formatting/lint via ruff * Apply static type checking via mypy * Cleanup and reorganize code structure
Changes ======= * Add retry logic * Cleaned up error handling * Reorganized RequestContext logic * Updated tests * Updated pre-commit configuration and ensured all stages are passing
Changes ======= * Update pyproject.toml and setup.py to handle package_data * Update MANIFEST.in to correctly handle package_data * Add uv.lock file to git
Changes ======= * Add loggers to `acouchbase_analytics` and `couchbase_analytics` * Remove print/todos related to logging and replace with log messaging * Allow logging to be configured via `PYCBAC_LOG_LEVEL` environment variable * General clean-up
Changes ======= * Cluster/Scope examples added for both sync and async APIs * Backoff exponent set to 2 (changed from 1.5) * Cleaned up test suite test server request/response functionality
Changes ======= * Allow httpx to handle timeouts instead of using anyio `CancelScope` deadline * Add tests to confirm functionality * Add logging helpful logging messages
Changes ======= * Add test.yml workflow * Update error handling to take into account timeout scenarios after `send_request` is called again after retry * Update error handling to take into account httpx ReadTimeout, WriteError and WriteTimeout * Update JSON streaming/parsing to handle when ijson uses Python as the backend and thus can raise different errors * Update ijson from 3.3.0 to 3.4.0 to get Python 3.13 wheel
Changes ======= * Handle wider range of httpx errors * Allow BaseException to be raised if not a timeout or cancel scenario
DemetrisChr
approved these changes
Aug 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.