Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: digitalocean/gradient-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: cipheraxat/gradient-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Oct 21, 2025

  1. feat: add wait_until_database_online helper for knowledge base databa…

    …se polling
    
    - Add wait_until_database_online method to KnowledgeBasesResource and AsyncKnowledgeBasesResource
    - Polls knowledge base database_status until it reaches ONLINE or encounters terminal failure
    - Implements configurable timeout and poll_interval parameters
    - Add two new exception types: KnowledgeBaseDatabaseError and KnowledgeBaseDatabaseTimeoutError
    - Expose new method through WithRawResponse and WithStreamingResponse wrappers
    - Add comprehensive unit tests (8 tests: 4 sync + 4 async) covering success, timeout, failure, and validation scenarios
    - Follows the same pattern as agents.wait_until_ready for consistency
    
    Closes #42
    cipheraxat committed Oct 21, 2025
    Configuration menu
    Copy the full SHA
    59ab161 View commit details
    Browse the repository at this point in the history
Loading