Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deprecation warnings for Model.predict and Version.predict #137

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

mattt
Copy link
Member

@mattt mattt commented Aug 7, 2023

Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

This PR updates the deprecation warnings accordingly.

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
…edict

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt mattt merged commit 0ca2346 into main Aug 7, 2023
6 checks passed
@mattt mattt deleted the mattt/predict-deprecation-warnings branch August 7, 2023 11:25
GothReigen added a commit that referenced this pull request Jan 3, 2024
Context: 

> Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

#137

Trying the example in the current iteration of `replicate/replicate-python` would return the following exception:

```python
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Version' object has no attribute 'predict'
```
GothReigen added a commit that referenced this pull request Jan 3, 2024
Context:

> Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

#137

Trying the example in the current iteration of `replicate/replicate-python` would return the following exception:

```python
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Version' object has no attribute 'predict'
```

Signed-off-by: Michael Lee <michaellee@Michaels-MacBook-Pro.local>
zeke pushed a commit that referenced this pull request Jan 4, 2024
Context:

> Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

#137

Trying the example in the current iteration of `replicate/replicate-python` would return the following exception:

```python
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Version' object has no attribute 'predict'
```

Signed-off-by: Michael Lee <michaellee@Michaels-MacBook-Pro.local>
GothReigen added a commit that referenced this pull request Feb 9, 2024
Context:

> Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

#137

Trying the example in the current iteration of `replicate/replicate-python` would return the following exception:

```python
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Version' object has no attribute 'predict'
```

Signed-off-by: GothReigen <reigen@replicate.com>
GothReigen added a commit that referenced this pull request Mar 11, 2024
Context:

> Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

#137

Trying the example in the current iteration of `replicate/replicate-python` would return the following exception:

```python
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Version' object has no attribute 'predict'
```

Signed-off-by: GothReigen <reigen@replicate.com>
Chris000102 added a commit to Chris000102/replicate-python that referenced this pull request May 3, 2024
Context:

> Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

replicate/replicate-python#137

Trying the example in the current iteration of `replicate/replicate-python` would return the following exception:

```python
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Version' object has no attribute 'predict'
```

Signed-off-by: Michael Lee <michaellee@Michaels-MacBook-Pro.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant