There are a couple of PRs right now implemeting something like get_symbolic_rv_shape between pymc / pymc-extras, and after #2204 there is one here.
Given the obvious demand, it makes sense for it to leave upstream of pymc-marketing, and we should switch it when it is in a stable place