Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 2.99 KB

File metadata and controls

49 lines (40 loc) · 2.99 KB

IterationRep

Properties

Name Type Description Notes
id str The iteration ID [optional]
hypothesis str The expected outcome of this experiment
status str The status of the iteration: <code>not_started</code>, <code>running</code>, <code>stopped</code>
created_at int
started_at int [optional]
ended_at int [optional]
winning_treatment_id str The ID of the treatment chosen when the experiment stopped [optional]
winning_reason str The reason you stopped the experiment [optional]
can_reshuffle_traffic bool Whether the experiment may reassign traffic to different variations when the experiment audience changes (true) or must keep all traffic assigned to its initial variation (false). [optional]
flags Dict[str, FlagRep] Details on the flag used in this experiment [optional]
reallocation_frequency_millis int The cadence (in milliseconds) to update the allocation. Only present for multi-armed bandits. [optional]
version int The current version that the iteration is on [optional]
primary_metric DependentMetricOrMetricGroupRep [optional]
primary_single_metric MetricV2Rep [optional]
primary_funnel DependentMetricGroupRepWithMetrics [optional]
randomization_unit str The unit of randomization for this iteration [optional]
attributes List[str] The available attribute filters for this iteration [optional]
treatments List[TreatmentRep] Details on the variations you are testing in the experiment [optional]
secondary_metrics List[MetricV2Rep] Deprecated, use <code>metrics</code> instead. Details on the secondary metrics for this experiment. [optional]
metrics List[DependentMetricOrMetricGroupRep] Details on the metrics for this experiment [optional]
layer_snapshot LayerSnapshotRep [optional]

Example

from launchdarkly_api.models.iteration_rep import IterationRep

# TODO update the JSON string below
json = "{}"
# create an instance of IterationRep from a JSON string
iteration_rep_instance = IterationRep.from_json(json)
# print the JSON string representation of the object
print(IterationRep.to_json())

# convert the object into a dict
iteration_rep_dict = iteration_rep_instance.to_dict()
# create an instance of IterationRep from a dict
iteration_rep_from_dict = IterationRep.from_dict(iteration_rep_dict)

[Back to Model list] [Back to API list] [Back to README]