:py:mod:`core.bones.raw` ======================== .. py:module:: core.bones.raw Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: core.bones.raw.RawBone .. py:class:: RawBone(*, compute = None, defaultValue = None, descr = '', getEmptyValueFunc = None, indexed = True, isEmptyFunc = None, languages = None, multiple = False, params = None, readOnly = None, required = False, searchable = False, type_suffix = '', unique = None, vfunc = None, visible = True) Bases: :py:obj:`viur.core.bones.base.BaseBone` Stores its data without applying any pre/post-processing or filtering. Can be used to store non-html content. Use the dot-notation like "raw.markdown" or similar to describe subsequent types. ..Warning: Using this bone will lead to security vulnerabilities like reflected XSS unless the data is either otherwise validated/stripped or from a trusted source! Don't use this unless you fully understand it's implications! Initializes a new Bone. .. py:attribute:: type :value: 'raw' .. py:method:: singleValueFromClient(value, skel, bone_name, client_data) Load a single value from a client :param value: The single value which should be loaded. :param skel: The SkeletonInstance where the value should be loaded into. :param bone_name: The bone name of this bone in the SkeletonInstance. :param client_data: The data taken from the client, a dictionary with usually bone names as key :return: A tuple. If the value is valid, the first element is the parsed value and the second is None. If the value is invalid or not parseable, the first element is a empty value and the second a list of *ReadFromClientError*.