def DatastoreTypeToTransforms(property_type):
 (import_transform, export_transform) = TYPE_TO_TRANSFORM_MAP.get(property_type, (None, None))
 transform = []
 if import_transform:
  transform.append(('      import_transform: %s\n' % import_transform))
 if export_transform:
  transform.append(('      export_transform: %s\n' % export_transform))
 return ''.join(transform)

def DatastoreTypeToTransforms ( property_type ) : ( import_transform , export_transform ) = TYPE_TO_TRANSFORM_MAP . get ( property_type , ( None , None ) ) transform = [ ] if import_transform : transform . append ( ( '      import_transform: %s\n' % import_transform ) ) if export_transform : transform . append ( ( '      export_transform: %s\n' % export_transform ) ) return '' . join ( transform )
return the import/export_transform lines for a datastore type .