Exemplo n.º 1
0
 def _iterate_oids(cls, oids):
     """Iterate OIDS to retreive from printer."""
     for oid in oids:
         yield hlapi.ObjectType(hlapi.ObjectIdentity(oid))
Exemplo n.º 2
0
 def _iterate_oids(cls, oids: Iterable) -> Generator:
     """Iterate OIDS to retrieve from printer."""
     for oid in oids:
         yield hlapi.ObjectType(hlapi.ObjectIdentity(oid))