

def DatastoreTypeToTransforms(property_type):
    "Return the import/export_transform lines for a datastore type.\n\n  Args:\n    property_type: Property type from the KindPropertyNamePropertyTypeStat.\n\n  Returns:\n    Strings for use in a bulkloader.yaml as transforms. This\n    may be '' (no transform needed), or one or two lines with import_transform\n    or export_transform.\n  "
    (import_transform, export_transform) = TYPE_TO_TRANSFORM_MAP.get(property_type, (None, None))
    transform = []
    if export_transform:
        transform.append(('      import_transform: %s\n' % import_transform))
    if export_transform:
        transform.append(('      export_transform: %s\n' % export_transform))
    return ''.join(transform)

dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/bulkloader_wizard.py DatastoreTypeToTransforms/VarMisuse@37/179 `import_transform`->`export_transform`