core (memory/param): Replace warning sign in ASCII by emoji:

The warning sign in ASCII should be escaped, but that doesn't play well with docstrings.
Emoji is a better option.
This commit is contained in:
Goffi 2026-03-31 13:00:31 +02:00
commit 7af89d3abd

View file

@ -397,7 +397,7 @@ class Params(object):
def _get_attr_internal(self, node, attr, value):
"""Get attribute value.
/!\ This method would return encrypted password values.
⚠️This method would return encrypted password values.
@param node: XML param node
@param attr: name of the attribute to get (e.g.: 'value' or 'type')
@ -479,7 +479,7 @@ class Params(object):
def _get_attr(self, node, attr, value):
"""Get attribute value (synchronous).
/!\ This method can not be used to retrieve password values.
⚠️This method can not be used to retrieve password values.
@param node: XML param node
@param attr: name of the attribute to get (e.g.: 'value' or 'type')
@param value: user defined value
@ -543,7 +543,7 @@ class Params(object):
):
"""Helper method to get a specific attribute.
/!\ This method would return encrypted password values,
⚠️This method would return encrypted password values,
to get the plain values you have to use param_get_a_async.
@param name: name of the parameter
@param category: category of the parameter
@ -747,7 +747,7 @@ class Params(object):
async def _construct_profile_xml(self, client, security_limit, app, extra):
"""Construct xml for asked profile, filling values when needed
/!\ as noticed in doc, don't forget to unlink the minidom.Document
⚠️as noticed in doc, don't forget to unlink the minidom.Document
@param security_limit: NO_SECURITY_LIMIT (-1) to return all the params.
Otherwise sole the params which have a security level defined *and*
lower or equal to the specified value are returned.