queenbee.base.variable module

A collection of methods to handle queenbee referenced variables.

queenbee.base.variable.get_ref_variable(value: Union[bytes, str]) list[source]

Get referenced variable if any

Parameters:
  • {Union[bytes (value) – (“{{some.double.quoted.var}}”) from.

  • variables (str]} -- input to parse double quoted) – (“{{some.double.quoted.var}}”) from.

Returns:

list – A list of matched substrings (empty list if None)

queenbee.base.variable.validate_inputs_outputs_var_format(value: str) str[source]

Validate inputs/outputs variables

Parameters:

variable (value {str} -- A '.' seperated string to be checked for inputs/outputs) – formatting

Returns:

str – A string with validation error messages