#NEWLINE# @ none_if_empty #NEWLINE# def bytestring_from_base64( value ) : #NEWLINE# #INDENT# 'Return a datastore bytestring property from a base64 encoded value.' #NEWLINE# decoded_value = base64 . b64decode ( decoded_value ) #NEWLINE# return datastore_types . ByteString ( decoded_value )