Skip to content

Commit bae5dc8

Browse files
committed
Export the use function
1 parent 20a37d1 commit bae5dc8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

replicate/__init__.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
from replicate.pagination import paginate as _paginate
44
from replicate.use import use
55

6+
__all__ = [
7+
"Client",
8+
"use",
9+
"run",
10+
"async_run",
11+
"stream",
12+
"async_stream",
13+
"paginate",
14+
"async_paginate",
15+
"collections",
16+
"deployments",
17+
"files",
18+
"hardware",
19+
"models",
20+
"predictions",
21+
"trainings",
22+
"webhooks",
23+
"default_client",
24+
]
25+
626
default_client = Client()
727

828
run = default_client.run

0 commit comments

Comments
 (0)