*** lbragstad has quit IRC | 00:23 | |
*** tosky has quit IRC | 00:28 | |
*** lbragstad has joined #openstack-sdks | 00:52 | |
*** lbragstad has quit IRC | 03:43 | |
*** efried1 has joined #openstack-sdks | 03:50 | |
*** __ministry1 has joined #openstack-sdks | 03:50 | |
*** iokiwi2 has joined #openstack-sdks | 03:51 | |
*** adriant4 has joined #openstack-sdks | 03:51 | |
*** eandersson8 has joined #openstack-sdks | 03:51 | |
*** openstackgerrit has quit IRC | 03:59 | |
*** __ministry has quit IRC | 03:59 | |
*** efried has quit IRC | 03:59 | |
*** zimmerry has quit IRC | 03:59 | |
*** iokiwi has quit IRC | 03:59 | |
*** adriant has quit IRC | 03:59 | |
*** eandersson has quit IRC | 03:59 | |
*** tbarron has quit IRC | 03:59 | |
*** __ministry1 is now known as __ministry | 03:59 | |
*** adriant4 is now known as adriant | 03:59 | |
*** iokiwi2 is now known as iokiwi | 03:59 | |
*** efried1 is now known as efried | 03:59 | |
*** eandersson8 is now known as eandersson | 03:59 | |
*** udesale has joined #openstack-sdks | 04:31 | |
*** whoami-rajat_ has joined #openstack-sdks | 04:41 | |
*** whoami-rajat_ is now known as whoami-rajat | 04:46 | |
*** ysandeep|away is now known as ysandeep | 05:16 | |
*** iurygregory has quit IRC | 05:26 | |
*** evrardjp has quit IRC | 05:33 | |
*** evrardjp has joined #openstack-sdks | 05:33 | |
*** slaweq has joined #openstack-sdks | 06:50 | |
*** gtema has joined #openstack-sdks | 07:37 | |
*** Hybrid512 has joined #openstack-sdks | 07:51 | |
*** khomesh24 has joined #openstack-sdks | 07:56 | |
*** rpittau|afk is now known as rpittau | 08:24 | |
*** jpich has joined #openstack-sdks | 08:53 | |
*** tosky has joined #openstack-sdks | 09:02 | |
*** Hybrid51222 has joined #openstack-sdks | 09:09 | |
*** Hybrid512 has quit IRC | 09:12 | |
*** Hybrid51222 is now known as Hybrid512 | 09:12 | |
*** udesale_ has joined #openstack-sdks | 09:55 | |
*** jawad_axd has joined #openstack-sdks | 09:58 | |
*** udesale has quit IRC | 09:59 | |
*** iurygregory_ has joined #openstack-sdks | 10:45 | |
*** iurygregory_ is now known as iurygregory | 10:46 | |
*** frenzy_friday has quit IRC | 10:55 | |
*** frenzy_friday has joined #openstack-sdks | 10:55 | |
*** jpich has quit IRC | 10:57 | |
*** jpich has joined #openstack-sdks | 10:58 | |
*** Hybrid512 has quit IRC | 11:06 | |
*** Hybrid512 has joined #openstack-sdks | 11:07 | |
*** Hybrid51280 has joined #openstack-sdks | 11:10 | |
*** ysandeep is now known as ysandeep|afk | 11:11 | |
*** Hybrid512 has quit IRC | 11:14 | |
*** dtantsur|afk is now known as dtantsur | 11:25 | |
*** Luzi has joined #openstack-sdks | 11:27 | |
*** artom has quit IRC | 11:51 | |
*** slaweq_ has joined #openstack-sdks | 11:52 | |
*** brinzhang has quit IRC | 11:56 | |
*** slaweq has quit IRC | 11:59 | |
*** ysandeep|afk is now known as ysandeep | 12:01 | |
*** artom has joined #openstack-sdks | 12:25 | |
*** slaweq_ is now known as slaweq | 12:38 | |
*** __ministry1 has joined #openstack-sdks | 12:52 | |
*** Hybrid51280 has quit IRC | 13:11 | |
*** enriquetaso has joined #openstack-sdks | 13:13 | |
*** lbragstad has joined #openstack-sdks | 13:24 | |
*** Hybrid512 has joined #openstack-sdks | 13:34 | |
*** tkajinam has quit IRC | 13:53 | |
*** jpich has quit IRC | 14:17 | |
*** jpich has joined #openstack-sdks | 14:18 | |
*** Luzi has quit IRC | 14:34 | |
*** __ministry1 has quit IRC | 14:41 | |
*** artom has quit IRC | 14:49 | |
*** ysandeep is now known as ysandeep|afk | 14:50 | |
*** Hybrid512 has quit IRC | 15:13 | |
*** Hybrid512 has joined #openstack-sdks | 15:14 | |
*** Hybrid51231 has joined #openstack-sdks | 15:23 | |
*** Hybrid512 has quit IRC | 15:27 | |
*** ysandeep|afk is now known as ysandeep|away | 15:34 | |
*** udesale_ has quit IRC | 15:48 | |
*** stephenfin has quit IRC | 15:53 | |
*** stephenfin has joined #openstack-sdks | 15:54 | |
*** frenzy_friday is now known as frenzyfriday|brb | 16:07 | |
*** jawad_axd has quit IRC | 16:42 | |
*** jawad_axd has joined #openstack-sdks | 16:42 | |
*** jawad_axd has quit IRC | 16:44 | |
*** jpich has quit IRC | 16:45 | |
*** jpich has joined #openstack-sdks | 16:46 | |
*** frenzyfriday|brb is now known as frenzy_friday | 16:58 | |
*** gtema has quit IRC | 17:00 | |
*** rpittau is now known as rpittau|afk | 17:05 | |
*** khomesh24 has quit IRC | 17:09 | |
*** jpich has quit IRC | 17:24 | |
*** artom has joined #openstack-sdks | 18:01 | |
*** openstackgerrit has joined #openstack-sdks | 18:09 | |
openstackgerrit | Radosław Piliszek proposed openstack/openstackclient master: osc-check-plugins job: Ensure OSC plugins from git https://review.opendev.org/c/openstack/openstackclient/+/779240 | 18:09 |
---|---|---|
openstackgerrit | Radosław Piliszek proposed openstack/openstackclient master: Add python-masakariclient https://review.opendev.org/c/openstack/openstackclient/+/778542 | 18:09 |
openstackgerrit | Radosław Piliszek proposed openstack/openstackclient master: Add python-masakariclient https://review.opendev.org/c/openstack/openstackclient/+/778542 | 18:10 |
*** dtantsur is now known as dtantsur|afk | 18:13 | |
*** ralonsoh has quit IRC | 18:28 | |
*** frenzy_friday has quit IRC | 18:44 | |
*** frenzy_friday has joined #openstack-sdks | 18:44 | |
*** lbragstad has quit IRC | 20:01 | |
*** lbragstad has joined #openstack-sdks | 20:15 | |
*** irclogbot_3 has quit IRC | 20:31 | |
yoctozepto | I might have a dumb question | 20:32 |
yoctozepto | but is not the 'type' in 'Body' meant to convert the values on create/update? | 20:33 |
yoctozepto | I would assume it, but it is not what I am observing | 20:33 |
*** irclogbot_2 has joined #openstack-sdks | 20:33 | |
yoctozepto | when trying to get masakari segment to update its is_enabled | 20:33 |
yoctozepto | it just passes the string 'False' or 'True' through | 20:34 |
yoctozepto | remaps the attribute name properly | 20:34 |
yoctozepto | but not the value | 20:34 |
*** whoami-rajat has quit IRC | 20:42 | |
mordred | yoctozepto: what you want is: type=format.BoolStr | 21:05 |
mordred | yoctozepto: (grep for "format.BoolStr" and you can see examples of use | 21:05 |
yoctozepto | mordred: thanks, will check this out tomorrow; a quick followup question: any downsides to this? i.e., when stick to 'bool' | 21:07 |
yoctozepto | when to* stick to | 21:08 |
mordred | yoctozepto: I don't think there are any downsides - the main thinng is that the conversion code needs a constructor | 21:09 |
mordred | if it's not a list or dict (which need logic) - the conversion code does type(value) | 21:10 |
mordred | and sadly bool('False') == True | 21:10 |
mordred | I honestly can't think of a reason why special casing bool in _convert_type would be bad ... | 21:11 |
mordred | but there might be a reason I'm not thinking of, and using format.BoolStr is safe enough until we could be happy of that | 21:11 |
mordred | so - long story short - no, I can't think of many reasons to just use bool somewhere | 21:12 |
mordred | yoctozepto: type=bool works fine if the server is returning a json bool and not a string | 21:12 |
*** lxkong has joined #openstack-sdks | 22:22 | |
*** tkajinam has joined #openstack-sdks | 23:00 | |
*** adriant has quit IRC | 23:11 | |
*** adriant has joined #openstack-sdks | 23:12 | |
*** diablo_rojo has joined #openstack-sdks | 23:19 | |
*** Hybrid51231 has quit IRC | 23:34 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!