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 0x7f592dc213d0>] = None, list_models: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f592f534610>] = False, create: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f592dc200d0>] = True, update: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f592cf8a8d0>] = True, delete: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f592cf8a9d0>] = False, fields: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f592cf8aad0>] = None, excluded_fields: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f592cf8ac50>] = None, keys: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f592cf8add0>] = None, max_create: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f592cf8af50>] = None, max_update: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f592cf8b0d0>] = None, max_delete: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f592cf8b250>] = None, max_total: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f592cf8b3d0>] = None, dry_run: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f592cf8b550>] = False, input_file_path: ~pathlib.Annotated[~pathlib.Path, <typer.models.OptionInfo object at 0x7f592cf8b6d0>] = None)[source]¶
Import data from CSV file(s) to Wutta DB