Skip to content

Commit 4e851d8

Browse files
committed
feat(curation): register curation sets to main client object
1 parent 29291eb commit 4e851d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/typesense/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
from typesense.collections import Collections
4444
from typesense.configuration import ConfigDict, Configuration
4545
from typesense.conversations_models import ConversationsModels
46+
from typesense.curation_sets import CurationSets
4647
from typesense.debug import Debug
4748
from typesense.keys import Keys
4849
from typesense.metrics import Metrics
@@ -74,6 +75,7 @@ class Client:
7475
aliases (Aliases): Instance for managing collection aliases.
7576
analyticsV1 (AnalyticsV1): Instance for analytics operations (V1).
7677
analytics (AnalyticsV30): Instance for analytics operations (v30).
78+
curation_sets (CurationSets): Instance for Curation Sets (v30+)
7779
stemming (Stemming): Instance for stemming dictionary operations.
7880
operations (Operations): Instance for various Typesense operations.
7981
debug (Debug): Instance for debug operations.
@@ -107,6 +109,7 @@ def __init__(self, config_dict: ConfigDict) -> None:
107109
self.analyticsV1 = AnalyticsV1(self.api_call)
108110
self.analytics = Analytics(self.api_call)
109111
self.stemming = Stemming(self.api_call)
112+
self.curation_sets = CurationSets(self.api_call)
110113
self.operations = Operations(self.api_call)
111114
self.debug = Debug(self.api_call)
112115
self.stopwords = Stopwords(self.api_call)

0 commit comments

Comments
 (0)