You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="Date and time when the A/B test was last updated, in RFC 3339 format.",
51
-
alias="updatedAt",
52
-
)
53
-
created_at: StrictStr=Field(
54
-
description="Date and time when the A/B test was created, in RFC 3339 format.",
55
-
alias="createdAt",
56
-
)
57
-
end_at: StrictStr=Field(
58
-
description="End date and time of the A/B test, in RFC 3339 format.",
59
-
alias="endAt",
60
-
)
61
-
name: StrictStr=Field(description="A/B test name.")
62
-
status: Status
63
-
variants: List[Variant] =Field(
64
-
description="A/B test variants. The first variant is your _control_ index, typically your production index. The second variant is an index with changed settings that you want to test against the control. "
46
+
updated_at: str=Field(alias="updatedAt")
47
+
""" Date and time when the A/B test was last updated, in RFC 3339 format. """
48
+
created_at: str=Field(alias="createdAt")
49
+
""" Date and time when the A/B test was created, in RFC 3339 format. """
50
+
end_at: str=Field(alias="endAt")
51
+
""" End date and time of the A/B test, in RFC 3339 format. """
52
+
name: str=Field(alias="name")
53
+
""" A/B test name. """
54
+
status: Status=Field(alias="status")
55
+
variants: List[Variant] =Field(alias="variants")
56
+
""" A/B test variants. The first variant is your _control_ index, typically your production index. The second variant is an index with changed settings that you want to test against the control. """
@@ -23,61 +23,43 @@ class ABTestResponse(BaseModel):
23
23
ABTestResponse
24
24
"""
25
25
26
-
index: StrictStr=Field(
27
-
description="Index name of the A/B test variant (case-sensitive)."
28
-
)
29
-
ab_test_id: StrictInt=Field(
30
-
description="Unique A/B test identifier.", alias="abTestID"
31
-
)
32
-
task_id: StrictInt=Field(
33
-
description="Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`. ",
34
-
alias="taskID",
35
-
)
26
+
index: str=Field(alias="index")
27
+
""" Index name of the A/B test variant (case-sensitive). """
28
+
ab_test_id: int=Field(alias="abTestID")
29
+
""" Unique A/B test identifier. """
30
+
task_id: int=Field(alias="taskID")
31
+
""" Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`. """
0 commit comments