File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
sdk/monitor/azure-monitor-query/azure/monitor/query Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def _from_generated(cls, generated):
5757 )
5858
5959
60- class LogsTableRow (list ):
60+ class LogsTableRow (object ):
6161 """Represents a single row in logs table.
6262 This type is gettable by both column name and column index.
6363
@@ -66,7 +66,6 @@ class LogsTableRow(list):
6666
6767 def __init__ (self , ** kwargs ):
6868 # type: (Any) -> None
69- super (LogsTableRow , self ).__init__ (** kwargs )
7069 _col_types = kwargs ["col_types" ]
7170 row = kwargs ["row" ]
7271 self ._row = process_row (_col_types , row )
@@ -145,8 +144,7 @@ def _from_generated(cls, generated):
145144class MetricsList (list ):
146145 """Custom list for metrics
147146 """
148- def __init__ (self , ** kwargs ):
149- super (MetricsList , self ).__init__ (** kwargs )
147+ def __init__ (self , ** kwargs ): # pylint: disable=super-init-not-called
150148 self ._metrics = kwargs ['metrics' ]
151149 self ._metric_names = {val .name : ind for ind , val in enumerate (self ._metrics )}
152150
You can’t perform that action at this time.
0 commit comments