Skip to content

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

Merged
mattt merged 2 commits intomainfrom
mattt/predict-deprecation-warnings
Aug 7, 2023
Merged

Update deprecation warnings for Model.predict and Version.predict#137
mattt merged 2 commits intomainfrom
mattt/predict-deprecation-warnings

Conversation

@mattt
Copy link
Copy Markdown
Contributor

@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.

mattt added 2 commits August 7, 2023 04:21
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
@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>
genuinedev114 pushed a commit to genuinedev114/replicate-python that referenced this pull request Apr 12, 2026
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