11__all__ = [
22 "MonitorGroup" ,
33]
4- from typing import Optional
4+ from typing import Any , Optional
55
66from linode_api4 import (
77 PaginatedList ,
@@ -30,7 +30,7 @@ def dashboards(
3030 Returns a list of dashboards. If `service_type` is provided, it fetches dashboards
3131 for the specific service type. If None, it fetches all dashboards.
3232
33- dashboards = client.monitor_serv .dashboards()
33+ dashboards = client.monitor .dashboards()
3434 dashboard = client.load(MonitorDashboard, 1)
3535 dashboards_by_service = client.monitor.dashboards(service_type="dbaas")
3636
@@ -121,7 +121,7 @@ def metric_definitions(
121121 )
122122
123123 def create_token (
124- self , service_type : str , entity_ids : list
124+ self , service_type : str , entity_ids : list [ Any ]
125125 ) -> MonitorServiceToken :
126126 """
127127 Returns a JWE Token for a specific service type.
@@ -134,7 +134,7 @@ def create_token(
134134 :param service_type: The service type to create token for.
135135 :type service_type: str
136136 :param entity_ids: The list of entity IDs for which the token is valid.
137- :type entity_ids: list of int
137+ :type entity_ids: any
138138
139139 :returns: Returns a token for a service
140140 :rtype: str
0 commit comments