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