Why does the doc string not show up when the Union...
# ask-the-community
l
Why does the doc string not show up when the Union type is set to string? Is this a bug?
y
@Jason Porter mind confirming this?
l
also something about the optional dict google doc string style
Copy code
sampler_weights (:obj:`dict`, optional): normalized weights for the WEIGHT_BALANCE sampler
this still shows up as sampler_weights instead of the description
j
Hmm yeah it shouldn't hide that; let me take a look.
l
were you able to reproduce it? I was trying it out with google doc string style doing it like this
Copy code
param2 (:obj:`str`, optional):
150 Views