<@U04S8PLJWMT> I woud like one example of the tran...
# replication-ask-ai
m
@kapa.ai I woud like one example of the transformation FlattenFields being used in a manifest file.
k
The knowledge sources do not explicitly mention
FlattenFields
being used in a manifest file example. However, they do document the closely related
DpathFlattenFields
transformation, and there is a real-world example of it in the Airtable connector's manifest:
Copy code
- type: DpathFlattenFields
  field_path:
    - "fields"
  delete_origin_value: true
This flattens the nested
fields
object to the top level of the record and deletes the original
fields
key. [Airtable manifest] For reference,
FlattenFields
(without a path) flattens the entire record to a single level, with an optional
flatten_lists
boolean (default
true
). [FlattenFields docs] A basic usage in a manifest would look like:
Copy code
transformations:
  - type: FlattenFields
    flatten_lists: true
However, I was unable to find a concrete manifest file in the knowledge sources that uses
FlattenFields
directly — only
DpathFlattenFields
appears in the provided examples. 👍 0 button 👎 0 button â„šī¸ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.