code: def resolve_aonly(self,tables_dict,table_ctor):
      "circular depends on pgmock.Table. refactor."
      for alias,selectx in self.aonly.items():
        table = table_ctor(alias,infer_columns(selectx,tables_dict),None)
        table.rows = run_select(selectx,tables_dict,table_ctor)
        self.aonly[alias] = table
      self.aonly_resolved = Truf resolve_aonly(self,tables_dict,table_ctor):
      "circular depends on pgmock.Table. refactor."
      for alias,selectx in self.aonly.items():
        table = table_ctor(alias,infer_columns(selectx,tables_dict),None)
        table.rows = run_select(selectx,tables_dict,table_ctor)
        self.aonly[alias] = table
      self.aonly_resolved = True
docs: circular depends on pgmock.Table. refactor.