@classmethod
    def get_params(cls):
        # We want to do this here and not at class instantiation, or else there is no room to extend classes dynamically
        params = []
        for param_name in dir(cls):
            param_obj = getattr(cls, param_name)
            if not isinstance(param_obj, Parameter):
                continue

            params.append((param_name, param_obj))

        # The order the parameters are created matters. See Parameter class
        params.sort(key=lambda t: t[1]._counter)
        return params
Transfer the array to the database
dataset/ETHPy150Open spotify/luigi/luigi/task.py/Task.get_params--crossover with--dataset/ETHPy150Open neurodata/ndstore/ingest/chessboard/chessboard.py/ChessboardIngest.upload