@@ -31,7 +31,7 @@ def device(self, device_name, tenant=None, include=None):
3131 :param list[str],optional include: List of fields to retrieve, defaults to ['name', 'portal', 'deviceType']
3232
3333 :return: Managed Device
34- :rtype: cterasdk.objects.synchronous.Edge or cterasdk.objects.synchronous.Drive
34+ :rtype: cterasdk.objects.synchronous.edge. Edge or cterasdk.objects.synchronous.drive .Drive
3535 """
3636 include = union (include or [], Devices .default )
3737 include = ['/' + attr for attr in include ]
@@ -53,7 +53,7 @@ def filers(self, include=None, allPortals=False, deviceTypes=None):
5353 :param list[cterasdk.core.enum.DeviceType.Gateways] deviceTypes: Types of Filers, defaults to all Filer types
5454
5555 :return: Iterator for all matching Filers
56- :rtype: cterasdk.lib.iterator.Iterator [cterasdk.object.Gateway.Gateway ]
56+ :rtype: cterasdk.lib.iterator.QueryIterator [cterasdk.objects.synchronous.edge.Edge ]
5757 """
5858 if deviceTypes :
5959 deviceTypes = [deviceType for deviceType in deviceTypes if deviceType in DeviceType .Gateways ]
@@ -71,7 +71,7 @@ def agents(self, include=None, allPortals=False):
7171 :param bool,optional allPortals: Search in all portals, defaults to False
7272
7373 :return: Iterator for all matching Agents
74- :rtype: cterasdk.lib.iterator.Iterator [cterasdk.object.Agent.Agent ]
74+ :rtype: cterasdk.lib.iterator.QueryIterator [cterasdk.objects.synchronous.drive.Drive ]
7575 """
7676 filters = [query .FilterBuilder (Devices .type_attr ).like ('Agent' )]
7777 return self .devices (include , allPortals , filters )
@@ -84,7 +84,7 @@ def desktops(self, include=None, allPortals=False):
8484 :param bool,optional allPortals: Search in all portals, defaults to False
8585
8686 :return: Iterator for all matching Desktops
87- :rtype: cterasdk.lib.iterator.Iterator
87+ :rtype: cterasdk.lib.iterator.QueryIterator
8888 """
8989 filters = [query .FilterBuilder (Devices .type_attr ).eq (DeviceType .WorkstationAgent )]
9090 return self .devices (include , allPortals , filters )
@@ -97,7 +97,7 @@ def servers(self, include=None, allPortals=False):
9797 :param bool,optional allPortals: Search in all portals, defaults to False
9898
9999 :return: Iterator for all matching Servers
100- :rtype: cterasdk.lib.iterator.Iterator
100+ :rtype: cterasdk.lib.iterator.QueryIterator
101101 """
102102 filters = [query .FilterBuilder (Devices .type_attr ).eq (DeviceType .ServerAgent )]
103103 return self .devices (include , allPortals , filters )
@@ -110,7 +110,7 @@ def by_name(self, names, include=None):
110110 :param list[str],optional include: List of fields to retrieve, defaults to ['name', 'portal', 'deviceType']
111111
112112 :return: Iterator for all matching Devices
113- :rtype: cterasdk.lib.iterator.Iterator
113+ :rtype: cterasdk.lib.iterator.QueryIterator
114114 """
115115 filters = [query .FilterBuilder ('name' ).eq (name ) for name in names ]
116116 return self .devices (include , False , filters )
@@ -125,7 +125,7 @@ def devices(self, include=None, allPortals=False, filters=None, user=None):
125125 :param cterasdk.core.types.UserAccount user: User account of the device owner
126126
127127 :return: Iterator for all matching Devices
128- :rtype: cterasdk.lib.iterator.Iterator
128+ :rtype: cterasdk.lib.iterator.QueryIterator
129129 """
130130 include = union (include or [], Devices .default )
131131 builder = query .QueryParamBuilder ().include (include ).allPortals (allPortals )
0 commit comments