1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.value.skip</title> 4<meta charset="utf-8"> 5</head><body bgcolor="#f0f0f8"> 6 7<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8<tr bgcolor="#7799ee"> 9<td valign=bottom> <br> 10<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.value.html"><font color="#ffffff">value</font></a>.skip</strong></big></big></font></td 11><td align=right valign=bottom 12><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/value/skip.py">telemetry/value/skip.py</a></font></td></tr></table> 13 <p><tt># Copyright 2014 The Chromium Authors. All rights reserved.<br> 14# Use of this source code is governed by a BSD-style license that can be<br> 15# found in the LICENSE file.</tt></p> 16<p> 17<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 18<tr bgcolor="#aa55cc"> 19<td colspan=3 valign=bottom> <br> 20<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 21 22<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 23<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.value.html">telemetry.value</a><br> 24</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> 25<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 26<tr bgcolor="#ee77aa"> 27<td colspan=3 valign=bottom> <br> 28<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 29 30<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 31<td width="100%"><dl> 32<dt><font face="helvetica, arial"><a href="telemetry.value.html#Value">telemetry.value.Value</a>(<a href="__builtin__.html#object">__builtin__.object</a>) 33</font></dt><dd> 34<dl> 35<dt><font face="helvetica, arial"><a href="telemetry.value.skip.html#SkipValue">SkipValue</a> 36</font></dt></dl> 37</dd> 38</dl> 39 <p> 40<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 41<tr bgcolor="#ffc8d8"> 42<td colspan=3 valign=bottom> <br> 43<font color="#000000" face="helvetica, arial"><a name="SkipValue">class <strong>SkipValue</strong></a>(<a href="telemetry.value.html#Value">telemetry.value.Value</a>)</font></td></tr> 44 45<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 46<td width="100%"><dl><dt>Method resolution order:</dt> 47<dd><a href="telemetry.value.skip.html#SkipValue">SkipValue</a></dd> 48<dd><a href="telemetry.value.html#Value">telemetry.value.Value</a></dd> 49<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 50</dl> 51<hr> 52Methods defined here:<br> 53<dl><dt><a name="SkipValue-AsDict"><strong>AsDict</strong></a>(self)</dt></dl> 54 55<dl><dt><a name="SkipValue-GetBuildbotDataType"><strong>GetBuildbotDataType</strong></a>(self, output_context)</dt></dl> 56 57<dl><dt><a name="SkipValue-GetBuildbotValue"><strong>GetBuildbotValue</strong></a>(self)</dt></dl> 58 59<dl><dt><a name="SkipValue-GetChartAndTraceNameForPerPageResult"><strong>GetChartAndTraceNameForPerPageResult</strong></a>(self)</dt></dl> 60 61<dl><dt><a name="SkipValue-GetRepresentativeNumber"><strong>GetRepresentativeNumber</strong></a>(self)</dt></dl> 62 63<dl><dt><a name="SkipValue-GetRepresentativeString"><strong>GetRepresentativeString</strong></a>(self)</dt></dl> 64 65<dl><dt><a name="SkipValue-__init__"><strong>__init__</strong></a>(self, page, reason, description<font color="#909090">=None</font>)</dt><dd><tt>A value representing a skipped page.<br> 66 <br> 67Args:<br> 68 page: The skipped page object.<br> 69 reason: The string reason the page was skipped.</tt></dd></dl> 70 71<dl><dt><a name="SkipValue-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> 72 73<hr> 74Class methods defined here:<br> 75<dl><dt><a name="SkipValue-MergeLikeValuesFromDifferentPages"><strong>MergeLikeValuesFromDifferentPages</strong></a>(cls, values)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 76 77<dl><dt><a name="SkipValue-MergeLikeValuesFromSamePage"><strong>MergeLikeValuesFromSamePage</strong></a>(cls, values)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 78 79<hr> 80Static methods defined here:<br> 81<dl><dt><a name="SkipValue-FromDict"><strong>FromDict</strong></a>(value_dict, page_dict)</dt></dl> 82 83<dl><dt><a name="SkipValue-GetJSONTypeName"><strong>GetJSONTypeName</strong></a>()</dt></dl> 84 85<hr> 86Data descriptors defined here:<br> 87<dl><dt><strong>reason</strong></dt> 88</dl> 89<hr> 90Methods inherited from <a href="telemetry.value.html#Value">telemetry.value.Value</a>:<br> 91<dl><dt><a name="SkipValue-AsDictWithoutBaseClassEntries"><strong>AsDictWithoutBaseClassEntries</strong></a>(self)</dt></dl> 92 93<dl><dt><a name="SkipValue-GetChartAndTraceNameForComputedSummaryResult"><strong>GetChartAndTraceNameForComputedSummaryResult</strong></a>(self, trace_tag)</dt></dl> 94 95<dl><dt><a name="SkipValue-IsMergableWith"><strong>IsMergableWith</strong></a>(self, that)</dt></dl> 96 97<dl><dt><a name="SkipValue-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> 98 99<dl><dt><a name="SkipValue-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> 100 101<hr> 102Static methods inherited from <a href="telemetry.value.html#Value">telemetry.value.Value</a>:<br> 103<dl><dt><a name="SkipValue-GetConstructorKwArgs"><strong>GetConstructorKwArgs</strong></a>(value_dict, page_dict)</dt><dd><tt>Produces constructor arguments from a value dict and a page dict.<br> 104 <br> 105Takes a dict parsed from JSON and an index of pages and recovers the<br> 106keyword arguments to be passed to the constructor for deserializing the<br> 107dict.<br> 108 <br> 109value_dict: a dictionary produced by <a href="#SkipValue-AsDict">AsDict</a>() on a value subclass.<br> 110page_dict: a dictionary mapping IDs to page objects.</tt></dd></dl> 111 112<dl><dt><a name="SkipValue-ListOfValuesFromListOfDicts"><strong>ListOfValuesFromListOfDicts</strong></a>(value_dicts, page_dict)</dt><dd><tt>Takes a list of value dicts to values.<br> 113 <br> 114Given a list of value dicts produced by AsDict, this method<br> 115deserializes the dicts given a dict mapping page IDs to pages.<br> 116This method performs memoization for deserializing a list of values<br> 117efficiently, where FromDict is meant to handle one-offs.<br> 118 <br> 119values: a list of value dicts produced by <a href="#SkipValue-AsDict">AsDict</a>() on a value subclass.<br> 120page_dict: a dictionary mapping IDs to page objects.</tt></dd></dl> 121 122<hr> 123Data descriptors inherited from <a href="telemetry.value.html#Value">telemetry.value.Value</a>:<br> 124<dl><dt><strong>__dict__</strong></dt> 125<dd><tt>dictionary for instance variables (if defined)</tt></dd> 126</dl> 127<dl><dt><strong>__weakref__</strong></dt> 128<dd><tt>list of weak references to the object (if defined)</tt></dd> 129</dl> 130<dl><dt><strong>name_suffix</strong></dt> 131<dd><tt>Returns the string after a . in the name, or the full name otherwise.</tt></dd> 132</dl> 133</td></tr></table></td></tr></table> 134</body></html>