in fluent/migrate/transforms.py [0:0]
def __init__(self, *elements, **kwargs):
# We want to support both passing elements as *elements in the
# migration specs and as elements=[]. The latter is used by
# FTL.BaseNode.traverse when it recreates the traversed node using its
# attributes as kwargs.
self.elements = list(kwargs.get("elements", elements))
# We want to make CONCAT(COPY()) equivalent to COPY() so that it's
# always safe (no-op) to wrap transforms in a CONCAT. This is used by
# the implementation of transforms_from.
if len(self.elements) > 1:
for elem in self.elements:
# Only change trim if it hasn't been set explicitly.
if isinstance(elem, LegacySource) and elem.trim is None:
elem.trim = False