(parameters: Sequence)
return normalised
Ensure the given event parameters are in the long format

    Event parameters can be specified as strings or `inspect.Parameter`
    instances. Ensure all provided parameters are all in the latter form.
Ensure the given event parameters are in the long format
Ensure the given event parameters are in the long format
def _normalise_event_parameters(parameters: Sequence) -> Sequence:
    """Ensure the given event parameters are in the long format

    Event parameters can be specified as strings or `inspect.Parameter`
    instances. Ensure all provided parameters are all in the latter form.
    """
    # pylint: disable=cyclic-import,import-outside-toplevel
    from lightbus.schema import Parameter

    normalised = []
    for parameter in parameters:
        if isinstance(parameter, str):
            normalised.append(Parameter(name=parameter))
        else:
            normalised.append(parameter)
    return normalised
def _normalise_event_parameters ( parameters : Sequence ) -> Sequence : # pylint: disable=cyclic-import,import-outside-toplevel from lightbus . schema import Parameter normalised = [ ] for parameter in parameters : if isinstance ( parameter , str ) : normalised . append ( Parameter ( name = parameter ) ) else : normalised . append ( parameter ) return normalised