code: def fetch_all_objects_from_db_by_pklist(self,
                                              cls: Type,
                                              table: str,
                                              fieldlist: Sequence[str],
                                              pklist: Sequence[Any],
                                              construct_with_pk: bool,
                                              *args) -> List[T]:
          
          objarray = []
          for pk in pklist:
              if construct_with_pk:
                  obj = cls(pk, *args)  # should do its own fetching
              else:
                  obj = cls(*args)
                  self.fetch_object_from_db_by_pk(obj, table, fieldlist, pk)
              objarray.append(obj)
          return objarray
docs: Fetches all objects from a table, given a list of PKs.