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 0x7f76c5187310>] = None, list_models: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f76c5187290>] = False, create: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f76c5a56590>] = True, update: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f76c4475090>] = True, delete: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f76c4475190>] = False, fields: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f76c4475290>] = None, excluded_fields: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f76c4475410>] = None, keys: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f76c4475590>] = None, max_create: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f76c4475710>] = None, max_update: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f76c4475890>] = None, max_delete: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f76c4475a10>] = None, max_total: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f76c4475b90>] = None, dry_run: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f76c4475d10>] = False, input_file_path: ~pathlib.Annotated[~pathlib.Path, <typer.models.OptionInfo object at 0x7f76c4475e90>] = None)[source]¶
Import data from CSV file(s) to Wutta DB