wuttasync.cli.import_csv¶
See also: wutta import-csv
- wuttasync.cli.import_csv.import_csv(ctx: ~typer.models.Context, models: ~typing.Annotated[~typing.List[str] | None, <typer.models.ArgumentInfo object at 0x7ffb2ddf89d0>] = None, list_models: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7ffb2ddf8a50>] = False, create: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7ffb2c758f50>] = True, update: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7ffb2c759090>] = True, delete: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7ffb2c759250>] = False, fields: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7ffb2c7593d0>] = None, excluded_fields: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7ffb2c759590>] = None, keys: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7ffb2c759750>] = None, max_create: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7ffb2c759910>] = None, max_update: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7ffb2c759ad0>] = None, max_delete: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7ffb2c759c50>] = None, max_total: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7ffb2c759e50>] = None, dry_run: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7ffb2c75a050>] = False, input_file_path: ~pathlib.Annotated[~pathlib.Path, <typer.models.OptionInfo object at 0x7ffb2c75a250>] = None)[source]¶
Import data from CSV file(s) to Wutta DB