if (info := _getMsgClassInfo(classType))[0]:
if info[1]:
raise UnsupportedMSGTypeError(f'Support for MSG type "{ct}" has been refused. See {constants.REPOSITORY_URL}/issues/{info[1]} for more information.')
raise UnsupportedMSGTypeError(f'MSG type "{ct}" currently is not supported by the module. If you would like support, please make a feature request.')
Where _getMsgClassInfo is some class.
When I translate it with PJ I get this error:
TransformationError: Node type 'NamedExpr': Line: 173, column: 12. No transformation for the node
When I replace ":=" with "=", I get this error:
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='? (<unknown>, line 173)
I have such python code:
Where
_getMsgClassInfo
is some class. When I translate it with PJ I get this error:TransformationError: Node type 'NamedExpr': Line: 173, column: 12. No transformation for the node
When I replace ":=" with "=", I get this error:SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='? (<unknown>, line 173)