Skip to content

Commit 56d8846

Browse files
committed
lint
1 parent 098c622 commit 56d8846

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

linode_api4/groups/monitor_api.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class MetricsGroup(Group):
1414
1515
This group contains all features related to metrics in the API monitor-api.
1616
"""
17+
1718
def fetch_metrics(
1819
self,
1920
service_type: str,
@@ -38,9 +39,7 @@ def fetch_metrics(
3839
:rtype: EntityMetrics or None
3940
"""
4041

41-
params = {
42-
"entity_ids": entity_ids
43-
}
42+
params = {"entity_ids": entity_ids}
4443

4544
params.update(kwargs)
4645

linode_api4/linode_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def __init__(
412412

413413
self.monitor = MonitorGroup(self)
414414

415-
super(LinodeClient, self).__init__(
415+
super().__init__(
416416
token=token,
417417
base_url=base_url,
418418
user_agent=user_agent,
@@ -559,7 +559,7 @@ def __init__(
559559
#: more information
560560
self.metrics = MetricsGroup(self)
561561

562-
super(MonitorClient, self).__init__(
562+
super().__init__(
563563
token=token,
564564
base_url=base_url,
565565
user_agent=user_agent,

linode_api4/objects/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
from .beta import *
2323
from .placement import *
2424
from .monitor import *
25-
from .monitor_api import *
25+
from .monitor_api import *

0 commit comments

Comments
 (0)