mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-11 15:22:55 +02:00
Updated Import (markdown)
+2
-2
@@ -67,7 +67,7 @@ The common fields are:
|
|||||||
| **name** | **type** | **default** | **definition** |
|
| **name** | **type** | **default** | **definition** |
|
||||||
|----------|---------------|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
|
|----------|---------------|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| target | str | *required | Field to map to |
|
| target | str | *required | Field to map to |
|
||||||
| source | Optional[str] | None | The name of the CSV column you want to map to. If empty or not defined, the field will be generated from default, transformations or ignored. |
|
| source | Optional[str] or Optional[list] | None | The name of the CSV column you want to map to. If empty or not defined, the field will be generated from default, transformations or ignored. |
|
||||||
| default | Optional[str] | None | The default value if none present |
|
| default | Optional[str] | None | The default value if none present |
|
||||||
| required | bool | false | If this value should be present. Will halt execution or skip row depending on "skip_lines" setting. |
|
| required | bool | false | If this value should be present. Will halt execution or skip row depending on "skip_lines" setting. |
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ Transformations allow you to transform a value before it is coerced.
|
|||||||
| **name** | **type** | **default** | **definition** |
|
| **name** | **type** | **default** | **definition** |
|
||||||
|-----------|----------|-------------|------------------------------------------|
|
|-----------|----------|-------------|------------------------------------------|
|
||||||
| type | str | *required | "merge" |
|
| type | str | *required | "merge" |
|
||||||
| fields | str | *required | the CSV columns to merge |
|
| fields | list[str] | *required | the CSV columns to merge |
|
||||||
| separator | str | " " | What to separate your merged values with |
|
| separator | str | " " | What to separate your merged values with |
|
||||||
|
|
||||||
##### split
|
##### split
|
||||||
|
|||||||
Reference in New Issue
Block a user