X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2Frmr%2Frmr.py;h=d1326c0f7f3aff781d31ee81fefa962a3fa8223f;hb=eaf0993ee018afdc58cfccb6f90852db7a431e4e;hp=aeb9e18c468960eefbfe4139ac37d2f7ba9ccd05;hpb=f68c2ced7de2bdfc475a9282cde91a67d83325de;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/rmr/rmr.py b/src/bindings/rmr-python/rmr/rmr.py index aeb9e18..d1326c0 100644 --- a/src/bindings/rmr-python/rmr/rmr.py +++ b/src/bindings/rmr-python/rmr/rmr.py @@ -83,7 +83,17 @@ def _get_mapping_dict(cache={}): def _state_to_status(stateno): """ - convery a msg state to status + Convert a msg state to status + + Parameters + ---------- + stateno: int + the state of the rmr message buffer + + Returns + ------- + string + the cooresponding message state """ sdict = _get_mapping_dict() return sdict.get(stateno, "UNKNOWN STATE")