Skip to content

Commit 52b6850

Browse files
authored
Also export InsertResult and Job models from top-level module (#10)
Follows up on #8 to also export the models `InsertResult` and `Job` from the top-level module. These are user-facing types and it might come in handy for projects to be able to use them.
1 parent 9565b9c commit 52b6850

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/riverqueue/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
InsertOpts as InsertOpts,
66
UniqueOpts as UniqueOpts,
77
)
8+
from .model import (
9+
InsertResult as InsertResult,
10+
Job as Job,
11+
)

0 commit comments

Comments
 (0)