It is missing. You can
1) report the issue on the bitbucket page for rpy2.
2) define it as:
from rpy2.robjects.lib import ggplot2
class ScaleShapeDiscrete(ggplot2.Scale):
_constructor = ggplot2.ggplot2_env['scale_shape_discrete']
scale_shape_discrete = ScaleShapeDiscrete.new