Tuesday, 2021-03-09

*** lbragstad has quit IRC00:23
*** tosky has quit IRC00:28
*** lbragstad has joined #openstack-sdks00:52
*** lbragstad has quit IRC03:43
*** efried1 has joined #openstack-sdks03:50
*** __ministry1 has joined #openstack-sdks03:50
*** iokiwi2 has joined #openstack-sdks03:51
*** adriant4 has joined #openstack-sdks03:51
*** eandersson8 has joined #openstack-sdks03:51
*** openstackgerrit has quit IRC03:59
*** __ministry has quit IRC03:59
*** efried has quit IRC03:59
*** zimmerry has quit IRC03:59
*** iokiwi has quit IRC03:59
*** adriant has quit IRC03:59
*** eandersson has quit IRC03:59
*** tbarron has quit IRC03:59
*** __ministry1 is now known as __ministry03:59
*** adriant4 is now known as adriant03:59
*** iokiwi2 is now known as iokiwi03:59
*** efried1 is now known as efried03:59
*** eandersson8 is now known as eandersson03:59
*** udesale has joined #openstack-sdks04:31
*** whoami-rajat_ has joined #openstack-sdks04:41
*** whoami-rajat_ is now known as whoami-rajat04:46
*** ysandeep|away is now known as ysandeep05:16
*** iurygregory has quit IRC05:26
*** evrardjp has quit IRC05:33
*** evrardjp has joined #openstack-sdks05:33
*** slaweq has joined #openstack-sdks06:50
*** gtema has joined #openstack-sdks07:37
*** Hybrid512 has joined #openstack-sdks07:51
*** khomesh24 has joined #openstack-sdks07:56
*** rpittau|afk is now known as rpittau08:24
*** jpich has joined #openstack-sdks08:53
*** tosky has joined #openstack-sdks09:02
*** Hybrid51222 has joined #openstack-sdks09:09
*** Hybrid512 has quit IRC09:12
*** Hybrid51222 is now known as Hybrid51209:12
*** udesale_ has joined #openstack-sdks09:55
*** jawad_axd has joined #openstack-sdks09:58
*** udesale has quit IRC09:59
*** iurygregory_ has joined #openstack-sdks10:45
*** iurygregory_ is now known as iurygregory10:46
*** frenzy_friday has quit IRC10:55
*** frenzy_friday has joined #openstack-sdks10:55
*** jpich has quit IRC10:57
*** jpich has joined #openstack-sdks10:58
*** Hybrid512 has quit IRC11:06
*** Hybrid512 has joined #openstack-sdks11:07
*** Hybrid51280 has joined #openstack-sdks11:10
*** ysandeep is now known as ysandeep|afk11:11
*** Hybrid512 has quit IRC11:14
*** dtantsur|afk is now known as dtantsur11:25
*** Luzi has joined #openstack-sdks11:27
*** artom has quit IRC11:51
*** slaweq_ has joined #openstack-sdks11:52
*** brinzhang has quit IRC11:56
*** slaweq has quit IRC11:59
*** ysandeep|afk is now known as ysandeep12:01
*** artom has joined #openstack-sdks12:25
*** slaweq_ is now known as slaweq12:38
*** __ministry1 has joined #openstack-sdks12:52
*** Hybrid51280 has quit IRC13:11
*** enriquetaso has joined #openstack-sdks13:13
*** lbragstad has joined #openstack-sdks13:24
*** Hybrid512 has joined #openstack-sdks13:34
*** tkajinam has quit IRC13:53
*** jpich has quit IRC14:17
*** jpich has joined #openstack-sdks14:18
*** Luzi has quit IRC14:34
*** __ministry1 has quit IRC14:41
*** artom has quit IRC14:49
*** ysandeep is now known as ysandeep|afk14:50
*** Hybrid512 has quit IRC15:13
*** Hybrid512 has joined #openstack-sdks15:14
*** Hybrid51231 has joined #openstack-sdks15:23
*** Hybrid512 has quit IRC15:27
*** ysandeep|afk is now known as ysandeep|away15:34
*** udesale_ has quit IRC15:48
*** stephenfin has quit IRC15:53
*** stephenfin has joined #openstack-sdks15:54
*** frenzy_friday is now known as frenzyfriday|brb16:07
*** jawad_axd has quit IRC16:42
*** jawad_axd has joined #openstack-sdks16:42
*** jawad_axd has quit IRC16:44
*** jpich has quit IRC16:45
*** jpich has joined #openstack-sdks16:46
*** frenzyfriday|brb is now known as frenzy_friday16:58
*** gtema has quit IRC17:00
*** rpittau is now known as rpittau|afk17:05
*** khomesh24 has quit IRC17:09
*** jpich has quit IRC17:24
*** artom has joined #openstack-sdks18:01
*** openstackgerrit has joined #openstack-sdks18:09
openstackgerritRadosław Piliszek proposed openstack/openstackclient master: osc-check-plugins job: Ensure OSC plugins from git  https://review.opendev.org/c/openstack/openstackclient/+/77924018:09
openstackgerritRadosław Piliszek proposed openstack/openstackclient master: Add python-masakariclient  https://review.opendev.org/c/openstack/openstackclient/+/77854218:09
openstackgerritRadosław Piliszek proposed openstack/openstackclient master: Add python-masakariclient  https://review.opendev.org/c/openstack/openstackclient/+/77854218:10
*** dtantsur is now known as dtantsur|afk18:13
*** ralonsoh has quit IRC18:28
*** frenzy_friday has quit IRC18:44
*** frenzy_friday has joined #openstack-sdks18:44
*** lbragstad has quit IRC20:01
*** lbragstad has joined #openstack-sdks20:15
*** irclogbot_3 has quit IRC20:31
yoctozeptoI might have a dumb question20:32
yoctozeptobut is not the 'type' in 'Body' meant to convert the values on create/update?20:33
yoctozeptoI would assume it, but it is not what I am observing20:33
*** irclogbot_2 has joined #openstack-sdks20:33
yoctozeptowhen trying to get masakari segment to update its is_enabled20:33
yoctozeptoit just passes the string 'False' or 'True' through20:34
yoctozeptoremaps the attribute name properly20:34
yoctozeptobut not the value20:34
*** whoami-rajat has quit IRC20:42
mordredyoctozepto: what you want is: type=format.BoolStr21:05
mordredyoctozepto: (grep for "format.BoolStr" and you can see examples of use21:05
yoctozeptomordred: thanks, will check this out tomorrow; a quick followup question: any downsides to this? i.e., when stick to 'bool'21:07
yoctozeptowhen to* stick to21:08
mordredyoctozepto: I don't think there are any downsides - the main thinng is that the conversion code needs a constructor21:09
mordredif it's not a list or dict (which need logic) - the conversion code does type(value)21:10
mordredand sadly bool('False') == True21:10
mordredI honestly can't think of a reason why special casing bool in _convert_type would be bad ...21:11
mordredbut there might be a reason I'm not thinking of,  and using format.BoolStr is safe enough until we could be happy of that21:11
mordredso - long story short - no, I can't think of many reasons to just use bool somewhere21:12
mordredyoctozepto: type=bool works fine if the server is returning a json bool and not a string21:12
*** lxkong has joined #openstack-sdks22:22
*** tkajinam has joined #openstack-sdks23:00
*** adriant has quit IRC23:11
*** adriant has joined #openstack-sdks23:12
*** diablo_rojo has joined #openstack-sdks23:19
*** Hybrid51231 has quit IRC23:34

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!