You shouldn’t have to change anything about the dist function just because you’re passing positional arguments. It’s just like a python function, the variable you defined is passed but given the name of the function parameter.
You should index outside just like you do with a vanilla LogNormal distribution. So what I showed above should be correct