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 0x7f0c5d1e5410>] = None, list_models: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f0c5d1e59d0>] = False, create: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f0c5d1e46d0>] = True, update: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f0c5c35a6d0>] = True, delete: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f0c5c35a7d0>] = False, fields: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f0c5c35a8d0>] = None, excluded_fields: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f0c5c35aa50>] = None, keys: ~typing.Annotated[str, <typer.models.OptionInfo object at 0x7f0c5c35abd0>] = None, max_create: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f0c5c35ad50>] = None, max_update: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f0c5c35aed0>] = None, max_delete: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f0c5c35b050>] = None, max_total: ~typing.Annotated[int, <typer.models.OptionInfo object at 0x7f0c5c35b1d0>] = None, dry_run: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f0c5c35b350>] = False, input_file_path: ~pathlib.Annotated[~pathlib.Path, <typer.models.OptionInfo object at 0x7f0c5c35b4d0>] = None)[source]¶
Import data from CSV file(s) to Wutta DB