https://flyte.org logo
#ask-the-community
Title
# ask-the-community
l

Laura Lin

05/30/2023, 4:43 PM
Why does the doc string not show up when the Union type is set to string? Is this a bug?
y

Yee

05/30/2023, 5:19 PM
@Jason Porter mind confirming this?
l

Laura Lin

05/30/2023, 5:57 PM
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

Jason Porter

05/30/2023, 6:38 PM
Hmm yeah it shouldn't hide that; let me take a look.
l

Laura Lin

05/30/2023, 8:35 PM
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):
71 Views