We give a generalization of the notion of finite Blaschke products from the
perspective of generalized inner functions in various reproducing kernel
Hilbert spaces. Further, we study precisely how these functions relate to
so-called Shapiro--Shields functions and shift-invariant subspaces generated by
polynomials.