From 7af89d3abdf687fbb656047ed510e5808d27039d Mon Sep 17 00:00:00 2001 From: Goffi Date: Tue, 31 Mar 2026 13:00:31 +0200 Subject: [PATCH] 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. --- libervia/backend/memory/params.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libervia/backend/memory/params.py b/libervia/backend/memory/params.py index e201d9cb..2254e078 100644 --- a/libervia/backend/memory/params.py +++ b/libervia/backend/memory/params.py @@ -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.