wuttafarm.cli.import_farmos¶
See also: wuttafarm import-farmos
- wuttafarm.cli.import_farmos.import_farmos(ctx: Context, models: List[str] | None, <typer.models.ArgumentInfo object at 0x7fd78e2202d0>]=None, list_models: Annotated[bool, <typer.models.OptionInfo object at 0x7fd78e220690>]=False, create: Annotated[bool, <typer.models.OptionInfo object at 0x7fd78e2207d0>]=True, update: Annotated[bool, <typer.models.OptionInfo object at 0x7fd78e220910>]=True, delete: Annotated[bool, <typer.models.OptionInfo object at 0x7fd78e220a50>]=False, fields: Annotated[str, <typer.models.OptionInfo object at 0x7fd78e220b90>]=None, excluded_fields: Annotated[str, <typer.models.OptionInfo object at 0x7fd78e220cd0>]=None, keys: Annotated[str, <typer.models.OptionInfo object at 0x7fd78e220e10>]=None, max_create: Annotated[int, <typer.models.OptionInfo object at 0x7fd78e220f50>]=None, max_update: Annotated[int, <typer.models.OptionInfo object at 0x7fd78e221090>]=None, max_delete: Annotated[int, <typer.models.OptionInfo object at 0x7fd78e2211d0>]=None, max_total: Annotated[int, <typer.models.OptionInfo object at 0x7fd78e221310>]=None, warnings: Annotated[bool, <typer.models.OptionInfo object at 0x7fd78e221450>]=False, warnings_recipients: Annotated[str, <typer.models.OptionInfo object at 0x7fd78e221590>]=None, warnings_max_diffs: Annotated[int, <typer.models.OptionInfo object at 0x7fd78e2216d0>]=15, dry_run: Annotated[bool, <typer.models.OptionInfo object at 0x7fd78e221810>]=False)[source]¶
Import data from farmOS API to WuttaFarm