parse_values

Contents

parse_values#

pulserver.protocol.parse_values()[source]#

Read a value block against the listing it was edited from.

Lines for read-only entries are ignored, and with unlisted="skip" so are lines naming a parameter the listing does not declare. A stringlist’s value is the option object the listing holds, which is a member of the choices’ enum where the listing comes from a scanner sequence.

Raises:

ValueError – If a line names a parameter the listing does not declare and unlisted is "refuse", or carries a value that parameter cannot take, which the message names.