1- from __future__ import absolute_import
1+ from typing import List
22
33# System
44from contextlib import redirect_stdout
1818__author__ = 'loy'
1919
2020
21- class EdEntityCollectionDesignator (Designator ):
21+ class EdEntityCollectionDesignator (Designator [ List [ Entity ]] ):
2222 """
2323 Resolves to a collection of Ed entities
2424
@@ -91,7 +91,7 @@ def _resolve(self):
9191 return None
9292
9393
94- class EdEntityDesignator (Designator ):
94+ class EdEntityDesignator (Designator [ Entity ] ):
9595 """
9696 Resolves to an entity from an Ed query
9797 """
@@ -197,7 +197,7 @@ def _resolve(self):
197197 return None
198198
199199
200- class EntityByIdDesignator (Designator ):
200+ class EntityByIdDesignator (Designator [ Entity ] ):
201201 def __init__ (self , robot , uuid , name = None ):
202202 """
203203 Designate an entity by its ID. Resolves to the entity with that ID
@@ -221,7 +221,7 @@ def __repr__(self):
221221 return "EntityByIdDesignator(uuid={}, name={})" .format (self .uuid , self .name )
222222
223223
224- class ReasonedEntityDesignator (Designator ):
224+ class ReasonedEntityDesignator (Designator [ Entity ] ):
225225 def __init__ (self , robot , query , name = None ):
226226 """
227227 Designate an entity by its ID. Resolves to the entity with that ID
0 commit comments