def get_sheet()

in components/processing/libs/processor-xlsx/src/processors/xlsx/xlsx_generator.py [0:0]


    def get_sheet(self, min_cols=2, max_cols=10, min_rows=100, max_rows=1000):
        cols = self.fake.random_elements(
            list(self.COLUMNS.keys()),
            unique=True,
            length=self.fake.random_int(min=min_cols, max=max_cols),
        )

        data = []
        data.append([self.fake.bothify(col) for col in cols])
        for row in range(self.fake.random_int(min=min_rows, max=max_rows)):
            data.append([self.COLUMNS[col]() for col in cols])
        return data