)]}'
{"specs/pike/approved/glance/add-protected-filter.rst":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3a73e40ae1898941fc792c21d225fb98d24143c6","unresolved":false,"context_lines":[{"line_number":43,"context_line":"the oslo string utilities, which contains a function ``bool_from_string`` that"},{"line_number":44,"context_line":"converts strings to an appropriate boolean value [APF-1]_.  Using the oslo"},{"line_number":45,"context_line":"library has an additional bonus in that the usage will be consistent across"},{"line_number":46,"context_line":"other OpenStack projects."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"The ``bool_from_string`` function has a \u0027strict\u0027 option that can be used to"},{"line_number":49,"context_line":"force the function to raise a ValueError when a non-recognized value (for"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dfeb2761_62f050fe","line":46,"updated":"2017-04-05 09:15:36.000000000","message":"Once upon a time there was some api-wg guidance proposed that was pretty much exactly this (that is, use bool_from_string), but I\u0027m not sure what happened with it. In any case this seems sane and is also aligned with the naming suggestion in the two sections starting at http://specs.openstack.org/openstack/api-wg/guidelines/naming.html#boolean-fields","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"3a73e40ae1898941fc792c21d225fb98d24143c6","unresolved":false,"context_lines":[{"line_number":48,"context_line":"The ``bool_from_string`` function has a \u0027strict\u0027 option that can be used to"},{"line_number":49,"context_line":"force the function to raise a ValueError when a non-recognized value (for"},{"line_number":50,"context_line":"example, \u0027protected\u003dFred\u0027) is passed.  In such a case, the API would return"},{"line_number":51,"context_line":"a 400 to indicate a bad request."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"To summarize:"},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"dfeb2761_62c970aa","line":51,"updated":"2017-04-05 09:15:36.000000000","message":"+1","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"382a4d2e7556d068be4a71f5f275c7da7f520927","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"2. The parameter will act as a filter on the \u0027protected\u0027 field of an Image."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"3. The set of values for the parameter will be permissive, that is, it will"},{"line_number":61,"context_line":"   accept strings that can reasonably be interpreted as True or False, as"},{"line_number":62,"context_line":"   defined by oslo string utilities [APF-1]_ in \"strict mode\".  These are:"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   * strings case-insensitively matching \u0027t\u0027,\u0027true\u0027, \u0027on\u0027, \u0027y\u0027, \u0027yes\u0027, or \u00271\u0027"},{"line_number":65,"context_line":"     are considered True"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"   * strings case-insensitively matching \u0027f\u0027, \u0027false\u0027, \u0027off\u0027, \u0027n\u0027, \u0027no\u0027, or \u00270\u0027"},{"line_number":68,"context_line":"     are considered False"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"4. Unrecognized values will result in a 400 (Bad Request) response with an"},{"line_number":71,"context_line":"   appropriate message."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_b216ac48","line":68,"range":{"start_line":60,"start_character":0,"end_line":68,"end_character":25},"updated":"2017-04-10 17:11:52.000000000","message":"I agree with what Erno said, API should be symmetric. Thus, I think we should limit this to true/false.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"99613dc37dc1c034d9d9da33f01d79a615460409","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"2. The parameter will act as a filter on the \u0027protected\u0027 field of an Image."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"3. The set of values for the parameter will be permissive, that is, it will"},{"line_number":61,"context_line":"   accept strings that can reasonably be interpreted as True or False, as"},{"line_number":62,"context_line":"   defined by oslo string utilities [APF-1]_ in \"strict mode\".  These are:"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   * strings case-insensitively matching \u0027t\u0027,\u0027true\u0027, \u0027on\u0027, \u0027y\u0027, \u0027yes\u0027, or \u00271\u0027"},{"line_number":65,"context_line":"     are considered True"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"   * strings case-insensitively matching \u0027f\u0027, \u0027false\u0027, \u0027off\u0027, \u0027n\u0027, \u0027no\u0027, or \u00270\u0027"},{"line_number":68,"context_line":"     are considered False"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"4. Unrecognized values will result in a 400 (Bad Request) response with an"},{"line_number":71,"context_line":"   appropriate message."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_9d2277b8","line":68,"range":{"start_line":60,"start_character":0,"end_line":68,"end_character":25},"in_reply_to":"bff0334d_b216ac48","updated":"2017-04-11 16:05:10.000000000","message":"I lean toward RFC 1122 on this, even if there are legitimate reasons not to. But as I note below, this isn\u0027t a fight I need to have right now. Either way this is an improvement I want unblock.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"f627863764044080670d6107b43d95dbb29f727a","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_93aa916e","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"updated":"2017-04-10 15:41:06.000000000","message":"Personally I think this would be the right thing to do as true and false are only allowed values when creating the image. https://developer.openstack.org/api-ref/image/v2/index.html?expanded\u003dshow-image-details-detail,show-images-detail,create-an-image-detail#create-an-image\n\nWe should be consistent and accept only the same valid values for our filter what we accept for the rest of the image calls in the API. If any other permutations are desired they should be implemented in the client side, but please lets keep the API consistent.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"fe81f1178e059226795ae739813a94bf17266dbc","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_a5cd2186","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_1d31c75a","updated":"2017-04-11 17:12:00.000000000","message":"Terrible it maybe but that wasn\u0027t my entire response/argument. I\u0027m saying the usability part must go in the client.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"389a744632ad65ca21d42dcce5e2fb1b8957e465","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_8f759efc","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_1d31c75a","updated":"2017-04-11 16:25:56.000000000","message":"Thanks, Steve.\n\nI\u0027m pretty sure this is our only boolean query string value in v2, so this proposal would give us consistent behavior across all of them.\n\nErno and Hemanth, I really don\u0027t get the lack-of-symmetry argument.  We have a json schema to define the Image response, so it\u0027s pretty clear what\u0027s expected for image-create and image-update.  There isn\u0027t a similar thing for query strings (we\u0027re not using WADL), so it\u0027s more guesswork (or RTFM) for API consumers.  Usually, consumers will make guesses based on how other APIs they\u0027re familiar with work, hence the liberal acceptance policy.  (See bug https://bugs.launchpad.net/horizon/+bug/1674246 that started this whole thing.)","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"99613dc37dc1c034d9d9da33f01d79a615460409","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_1d31c75a","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_2c1fdc5b","updated":"2017-04-11 16:05:10.000000000","message":"\u003e how often do we expect users to make direct API calls\n\nThis is a terrible argument. APIs are a user interface that all other interfaces are built on.\n\nFor consistency concerns, I agree in this case it probably makes sense. We can later propose to accept liberal inputs across all boolean options and have this particular fight later.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"85c53b55dc53df249bced54b6284760063c25e43","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_562e2d92","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_4f38ddec","updated":"2017-04-10 20:35:37.000000000","message":"I\u0027m just going to throw this out there (mostly because I hate losing an argument).  The API already takes query string values that do not appear in the image object, for example, we take various operators like \"gt\" and \"lt\" for time, \"in\" to do a convenient multiple value specification, and, of course, the \"all\" value for member_status (which I guess is the most relevant).\n\nWe\u0027re not requiring that people use something other than \u0027true\u0027 or \u0027false\u0027; we\u0027re just recognizing other conventionally accepted unambiguous values for \u0027true\u0027 and \u0027false\u0027 so that the user doesn\u0027t have to resubmit an otherwise OK query.\n\nQuick ... should it be deleted\u003d1 or deleted\u003dtrue to see deleted images?  How annoying is it to have to look this up in the docs or determine by trial and error, when it\u0027s obvious that they mean the same thing?\n\nI\u0027m not against strictness here, I\u0027m just not completely convinced that this isn\u0027t the kind of consistency Emerson was talking about.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"4c012f2588e38f0d25666d8d863e7b1334b70f97","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_2c1fdc5b","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_562e2d92","updated":"2017-04-10 21:54:59.000000000","message":"Brian,\nI\u0027m not talking about consistency across multiple operations. That\u0027s a bigger issue. I\u0027m only talking about being consistent with image create.\n\nI\u0027m sure folks would look at the api-ref to see what image filters are available. It\u0027s not terribly inconvenient. And, why do want to encourage laziness? :P\n\nBesides that, how often do we expect users to make direct API calls. Like what Erno said, it makes good sense for something like this (related to user experience) to sit in the client.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"66abd99211914f6e58cefa983570fc7cb50542c8","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_f201ad6b","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_8f759efc","updated":"2017-04-11 16:48:24.000000000","message":"thinking beyond query strings alone, boolean record field values are currently strictly evaluated. That makes a consistency argument not unreasonable for me. \n\nDoes it make sense for an admin disabling an image to do so using \"yes\" in the field value? I\u0027d rather fight that later.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":8158,"name":"Hemanth Makkapati","email":"makstacker+osgerrit@gmail.com","username":"hemanth.makkapati"},"change_message_id":"382a4d2e7556d068be4a71f5f275c7da7f520927","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_4f38ddec","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_93aa916e","updated":"2017-04-10 17:11:52.000000000","message":"I strongly support this.","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"e679ab182c8a07aac5be6839cce07651d3e9dcae","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_e3c8c1a6","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_a5cd2186","updated":"2017-04-11 18:09:16.000000000","message":"Sorry, I was too dramatic in that wording, and regretted that phrasing immediately. I do disagree strongly with any argument that suggests the usability of the API is less important than the single API client we maintain but we can still discuss that separately.\n\nI bought the consistency argument. I\u0027d prefer to focus on that one. :)","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"59a03b0fb220aa436c55eddf5745293423f0febf","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   API behaves as if ``protected\u003dFalse`` has been specified).  This behavior"},{"line_number":84,"context_line":"   appears weird to end users."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"2. Implement the filter, but be extremely strict, that is, accept only \u0027true\u0027"},{"line_number":87,"context_line":"   or \u0027false\u0027 in that exact case combination.  This doesn\u0027t seem very user"},{"line_number":88,"context_line":"   friendly."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bff0334d_5df625d9","line":88,"range":{"start_line":86,"start_character":0,"end_line":88,"end_character":12},"in_reply_to":"bff0334d_e3c8c1a6","updated":"2017-04-11 21:11:14.000000000","message":"OK, one last go at this, he says, pulling the Nova card:\n\nhttps://github.com/openstack/nova/blob/d52bcc616f2d1c0df7bad8a6f5a00adc7ad1fb27/nova/api/validation/parameter_types.py#L188-L194\n\nSo at least one other well-known OpenStack API does allow permissive values in boolean-valued query string parameters.  Thus keeping the permissive interpretation, as proposed in this spec, will be consistent with other OpenStack APIs (and may be why people reported \"protected\u003dyes\" not working as a bug).","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":21722,"name":"Dharini Chandrasekar","email":"dharini.chandrasekar@intel.com","username":"dharinic"},"change_message_id":"40d1b9a981c2e9870f7d7a167ce68d2b1f9e3546","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"},{"line_number":92,"context_line":"   would be considered False.  This isn\u0027t very user friendly either, for"},{"line_number":93,"context_line":"   example, a French language speaker applying the query filter \u0027protected\u003doui\u0027"},{"line_number":94,"context_line":"   will receive the complement of what was requested."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Data model impact"},{"line_number":97,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dfeb2761_55f24c08","line":94,"range":{"start_line":92,"start_character":69,"end_line":94,"end_character":53},"updated":"2017-03-30 18:54:05.000000000","message":"I like this example. :D","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"},{"author":{"_account_id":23757,"name":"Mateusz Kowalski","email":"mko@redhat.com","username":"makowals"},"change_message_id":"9363c68cb286560f6fcccbe6fbe105298e46946c","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"3. Implement the filter, but be extremely lax, that is, any value that isn\u0027t"},{"line_number":91,"context_line":"   mapped to the boolean value True by the oslo ``bool_from_string`` function"},{"line_number":92,"context_line":"   would be considered False.  This isn\u0027t very user friendly either, for"},{"line_number":93,"context_line":"   example, a French language speaker applying the query filter \u0027protected\u003doui\u0027"},{"line_number":94,"context_line":"   will receive the complement of what was requested."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Data model impact"},{"line_number":97,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"dfeb2761_436cc435","line":94,"range":{"start_line":92,"start_character":69,"end_line":94,"end_character":53},"in_reply_to":"dfeb2761_55f24c08","updated":"2017-03-31 06:35:19.000000000","message":"For non-english users it\u0027s almost as bad as the first option...","commit_id":"705e6cfe55d34e4996a89e9d0a2bd5247437f4e5"}]}
