@@ -812,7 +812,7 @@ def get_container(self, container_id, limit=20):
812
812
813
813
###### Tool API #######
814
814
815
- def list_tool_types (self , id = None , name = None , limit = 20 ):
815
+ def list_tool_types (self , resource_id = None , name = None , limit = 20 ):
816
816
"""Retrieves all the tool types.
817
817
818
818
:param name_contains: Search by tool type name.
@@ -824,15 +824,15 @@ def list_tool_types(self, id=None, name=None, limit=20):
824
824
if limit :
825
825
params ['limit' ] = limit
826
826
827
- if id :
828
- params ['id' ] = id
827
+ if resource_id :
828
+ params ['id' ] = resource_id
829
829
830
830
if name :
831
831
params ['name__contains' ] = name
832
832
833
833
return self ._request ('GET' , 'tool_types/' , params )
834
834
835
- def list_tools (self , id = None , name = None , tool_type_id = None , url = None , limit = 20 ):
835
+ def list_tools (self , resource_id = None , name = None , tool_type_id = None , url = None , limit = 20 ):
836
836
"""Retrieves all the tool configurations.
837
837
838
838
:param name_contains: Search by tool name.
@@ -846,8 +846,8 @@ def list_tools(self, id=None, name=None, tool_type_id=None, url=None, limit=20):
846
846
if limit :
847
847
params ['limit' ] = limit
848
848
849
- if id :
850
- params ['id' ] = id
849
+ if resource_id :
850
+ params ['id' ] = resource_id
851
851
852
852
if name :
853
853
params ['name' ] = name
@@ -860,7 +860,7 @@ def list_tools(self, id=None, name=None, tool_type_id=None, url=None, limit=20):
860
860
861
861
return self ._request ('GET' , 'tool_configurations/' , params )
862
862
863
- def list_tool_products (self , url = None , name = None , tool_configuration_id = None ,
863
+ def list_tool_products (self , resource_id = None , url = None , name = None , tool_configuration_id = None ,
864
864
tool_project_id = None , product_id = None , limit = 20 ):
865
865
"""Retrieves all the tools.
866
866
@@ -877,8 +877,8 @@ def list_tool_products(self, url=None, name=None, tool_configuration_id=None,
877
877
if limit :
878
878
params ['limit' ] = limit
879
879
880
- if id :
881
- params ['id' ] = id
880
+ if resource_id :
881
+ params ['id' ] = resource_id
882
882
883
883
if name :
884
884
params ['name' ] = name
0 commit comments