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: replicate/replicate-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.34.0
Choose a base ref
...
head repository: replicate/replicate-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.34.1
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Sep 25, 2024

  1. Consistently return Boolean for delete methods (#359)

    Resolves #356 
    
    When deleting a model, Replicate's API returns with a 204 and an empty
    response body. The client library fails to decode this and raises and
    exception.
    
    This PR updates the `replicate.models.delete` method to return `bool`
    instead to indicate success. It also harmonizes the other delete methods
    for deployments and files to do the same.
    
    Signed-off-by: Mattt Zmuda <mattt@replicate.com>
    mattt authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    67a87c5 View commit details
    Browse the repository at this point in the history
  2. 0.34.1

    Signed-off-by: Mattt Zmuda <mattt@replicate.com>
    mattt committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    5458c51 View commit details
    Browse the repository at this point in the history
Loading