<filename>fseval/config/callbacks/to_csv.py
from dataclasses import dataclass

from omegaconf import MISSING


@dataclass
class ToCSVCallback:
    """
    CSV support for fseval. Uploads general information on the experiment to
    a `experiments` table and provides a hook for uploading custom tables.

    Attributes:
        dir (str): The directory to save all CSV files to. For example, in this
            directory a file `experiments.csv` will be created, containing the config
            of all experiments that were run.
        mode (str): Whether to overwrite or append. Use "a" for appending and "w" for
            overwriting.
    """

    dir: str = MISSING
    mode: str = "a"

    # required for instantiation
    _target_: str = "fseval.callbacks.to_csv.CSVCallback"

<filename>fseval/config/callbacks/to_csv.py
from dataclasses import dataclass

from omegaconf import MISSING


@dataclass
class ToCSVCallback:
    """
    CSV support for fseval. Uploads general information on the experiment to
    a `experiments` table and provides a hook for uploading custom tables.

    Attributes:
        dir (str): The directory to save all CSV files to. For example, in this
            directory a file `experiments.csv` will be created, containing the config
            of all experiments that were run.
        mode (str): Whether to overwrite or append. Use "a" for appending and "w" for
            overwriting.
    """

    dir: str = MISSING
    mode: str = "a"

    # required for instantiation
    _target_: str = "fseval.callbacks.to_csv.CSVCallback"

CSV support for fseval. Uploads general information on the experiment to     a `experiments` table and provides a hook for uploading custom tables.      Attributes:         dir (str): The directory to save all CSV files to. For example, in this             directory a file `experiments.csv` will be created, containing the config             of all experiments that were run.         mode (str): Whether to overwrite or append. Use "a" for appending and "w" for             overwriting. # required for instantiation