Skip to content

Commit d7388c5

Browse files
authored
Add support for deployments endpoints (#258)
Alternative to #247 See https://replicate.com/docs/reference/http --------- Signed-off-by: Mattt Zmuda <mattt@replicate.com>
1 parent ddc100e commit d7388c5

File tree

3 files changed

+680
-13
lines changed

3 files changed

+680
-13
lines changed

replicate/account.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Dict, Literal
1+
from typing import Any, Dict, Literal, Optional
22

33
from replicate.resource import Namespace, Resource
44

@@ -17,7 +17,7 @@ class Account(Resource):
1717
name: str
1818
"""The name of the account."""
1919

20-
github_url: str
20+
github_url: Optional[str]
2121
"""The GitHub URL of the account."""
2222

2323

0 commit comments

Comments
 (0)