)]}'
{"tooz/coordination.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":692,"context_line":"    if not isinstance(options, dict):"},{"line_number":693,"context_line":"        raise TypeError(\"Unexpected options type %s, dict expected\""},{"line_number":694,"context_line":"                        % type(options).__name__)"},{"line_number":695,"context_line":"    if not options:"},{"line_number":696,"context_line":"        return {}"},{"line_number":697,"context_line":"    if exclude is None:"},{"line_number":698,"context_line":"        exclude \u003d set()"},{"line_number":699,"context_line":"    collapsed \u003d {}"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_37839ece","line":696,"range":{"start_line":695,"start_character":1,"end_line":696,"end_character":17},"updated":"2016-02-10 10:31:30.000000000","message":"Does not seem necessary.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"4027b6a14586b7ed73c45e5b3d5d146983bbc5a0","unresolved":false,"context_lines":[{"line_number":692,"context_line":"    if not isinstance(options, dict):"},{"line_number":693,"context_line":"        raise TypeError(\"Unexpected options type %s, dict expected\""},{"line_number":694,"context_line":"                        % type(options).__name__)"},{"line_number":695,"context_line":"    if not options:"},{"line_number":696,"context_line":"        return {}"},{"line_number":697,"context_line":"    if exclude is None:"},{"line_number":698,"context_line":"        exclude \u003d set()"},{"line_number":699,"context_line":"    collapsed \u003d {}"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_9563551a","line":696,"range":{"start_line":695,"start_character":1,"end_line":696,"end_character":17},"in_reply_to":"3a57f1b5_37839ece","updated":"2016-02-10 16:39:53.000000000","message":"Sure, can remove.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"}],"tooz/drivers/redis.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":306,"context_line":"            \u0027ssl\u0027: su.CoerceBool,"},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"            # Options that are expected to be lists (or tuples)."},{"line_number":309,"context_line":"            \u0027sentinel_fallback\u0027: su.AnyOfTypes((list, tuple)),"},{"line_number":310,"context_line":"        }, extra\u003dsu.REMOVE_EXTRA)"},{"line_number":311,"context_line":"    \"\"\"Schema of options this coordinator can be provided."},{"line_number":312,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_e2b6a63c","line":309,"updated":"2016-02-10 10:31:30.000000000","message":"isinstance(collections.Iterable) I think that\u0027s what you want.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"}],"tooz/schema_utils.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":51,"context_line":"            self.schema, self.extra_to_name.get(self.extra, \u0027??\u0027), id(self))"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"class OneOf(object):"},{"line_number":55,"context_line":"    \"\"\"Helper to make voluptuous one of X valid."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    The default behavior of lists does not seem to do this."}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_17d9c2f3","line":54,"updated":"2016-02-10 10:31:30.000000000","message":"This is voluptuous.Any() with some types?","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"4027b6a14586b7ed73c45e5b3d5d146983bbc5a0","unresolved":false,"context_lines":[{"line_number":51,"context_line":"            self.schema, self.extra_to_name.get(self.extra, \u0027??\u0027), id(self))"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"class OneOf(object):"},{"line_number":55,"context_line":"    \"\"\"Helper to make voluptuous one of X valid."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    The default behavior of lists does not seem to do this."}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_f54649be","line":54,"in_reply_to":"3a57f1b5_17d9c2f3","updated":"2016-02-10 16:39:53.000000000","message":"So I\u0027ll create a small example but I think \u0027voluptuous.Any\u0027 didn\u0027t work for what I wanted; so created this, which did work, ha.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"c22240c529ae811026033d03117779699fec59ee","unresolved":false,"context_lines":[{"line_number":51,"context_line":"            self.schema, self.extra_to_name.get(self.extra, \u0027??\u0027), id(self))"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"class OneOf(object):"},{"line_number":55,"context_line":"    \"\"\"Helper to make voluptuous one of X valid."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    The default behavior of lists does not seem to do this."}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_cc262768","line":54,"in_reply_to":"3a57f1b5_f54649be","updated":"2016-02-10 17:38:40.000000000","message":"Nm, seems like it works!","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        return \u0027OneOf(%s)\u0027 % (list(self.allowed))"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"def CoerceBool(v, strict\u003dTrue):"},{"line_number":77,"context_line":"    try:"},{"line_number":78,"context_line":"        return strutils.bool_from_string(v, strict\u003dstrict)"},{"line_number":79,"context_line":"    except ValueError as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_979a9213","line":76,"updated":"2016-02-10 10:31:30.000000000","message":"I don\u0027t think you can use the kwarg in the schema.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"4027b6a14586b7ed73c45e5b3d5d146983bbc5a0","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        return \u0027OneOf(%s)\u0027 % (list(self.allowed))"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"def CoerceBool(v, strict\u003dTrue):"},{"line_number":77,"context_line":"    try:"},{"line_number":78,"context_line":"        return strutils.bool_from_string(v, strict\u003dstrict)"},{"line_number":79,"context_line":"    except ValueError as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_f51de9bd","line":76,"in_reply_to":"3a57f1b5_979a9213","updated":"2016-02-10 16:39:53.000000000","message":"Ya, true, its not needed anyway.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"def CoerceFloat(v):"},{"line_number":84,"context_line":"    try:"},{"line_number":85,"context_line":"        return float(v)"},{"line_number":86,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_b7930efa","line":83,"updated":"2016-02-10 10:31:30.000000000","message":"I think we can use float() directly without that.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"7a405ff1e58de5abfde7e8fdcae859204fbed7bf","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"def CoerceFloat(v):"},{"line_number":84,"context_line":"    try:"},{"line_number":85,"context_line":"        return float(v)"},{"line_number":86,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_98cd6987","line":83,"in_reply_to":"3a57f1b5_3c0f8c38","updated":"2016-02-12 08:15:26.000000000","message":"In your PR, add a patch that enhance voluptuous.Coerce to add an attribute to its closure so it carry the original type :) That\u0027ll make it work for everyone already using Coerce. :)","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"ded0f9ac15d4c978f6fbd2823c2e31038f53ccc9","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"def CoerceFloat(v):"},{"line_number":84,"context_line":"    try:"},{"line_number":85,"context_line":"        return float(v)"},{"line_number":86,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_a5306e9f","line":83,"in_reply_to":"3a57f1b5_4c1b171c","updated":"2016-02-11 12:50:57.000000000","message":"Aaahh this is so inconsistent. Well anyway you can use voluptuous.Coerce(float).","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"b059132a1a99e18b5dbc524ad6e61e7e4eff518a","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"def CoerceFloat(v):"},{"line_number":84,"context_line":"    try:"},{"line_number":85,"context_line":"        return float(v)"},{"line_number":86,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"1a54edaf_635bc255","line":83,"in_reply_to":"3a57f1b5_98cd6987","updated":"2016-02-13 02:26:41.000000000","message":"Good idea :)\n\nWill do, let me get that PR going tonight.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"fcb5a75f9614ccadd46ce222acedacd2c1be3c30","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"def CoerceFloat(v):"},{"line_number":84,"context_line":"    try:"},{"line_number":85,"context_line":"        return float(v)"},{"line_number":86,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_3c0f8c38","line":83,"in_reply_to":"3a57f1b5_a5306e9f","updated":"2016-02-12 06:29:56.000000000","message":"So the problem with \u0027 voluptuous.Coerce(float).\u0027 is that then the sphinx docs that show the options schema in a semi-readable manner turn into showing a inner function that loses its information about the type to coerce to (so therefore readers don\u0027t know its supposed to be a float or float convertible).\n\nhttps://github.com/alecthomas/voluptuous/issues/146 will fix that once I get around to making a PR for that.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"4027b6a14586b7ed73c45e5b3d5d146983bbc5a0","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"def CoerceFloat(v):"},{"line_number":84,"context_line":"    try:"},{"line_number":85,"context_line":"        return float(v)"},{"line_number":86,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_d5778d00","line":83,"in_reply_to":"3a57f1b5_b7930efa","updated":"2016-02-10 16:39:53.000000000","message":"Hmmm, will try.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"c22240c529ae811026033d03117779699fec59ee","unresolved":false,"context_lines":[{"line_number":80,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"def CoerceFloat(v):"},{"line_number":84,"context_line":"    try:"},{"line_number":85,"context_line":"        return float(v)"},{"line_number":86,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_4c1b171c","line":83,"in_reply_to":"3a57f1b5_d5778d00","updated":"2016-02-10 17:38:40.000000000","message":"Can\u0027t, try.\n\n    \n    import voluptuous\n    \n    ex \u003d {\n        \u0027a\u0027: 3,\n    }\n    s \u003d voluptuous.Schema({\n        \u0027a\u0027: float,\n    })\n    \n    s(ex)\n\nThat will blow-up... \n\nWith\n\n   voluptuous.MultipleInvalid: expected float for dictionary value @ data[\u0027a\u0027]","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"def CoerceInt(v):"},{"line_number":91,"context_line":"    try:"},{"line_number":92,"context_line":"        return int(v)"},{"line_number":93,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_d7900aef","line":90,"updated":"2016-02-10 10:31:30.000000000","message":"ditto","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"fcb5a75f9614ccadd46ce222acedacd2c1be3c30","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"def CoerceInt(v):"},{"line_number":91,"context_line":"    try:"},{"line_number":92,"context_line":"        return int(v)"},{"line_number":93,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_77075d18","line":90,"in_reply_to":"3a57f1b5_0522a252","updated":"2016-02-12 06:29:56.000000000","message":"ditto","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"ded0f9ac15d4c978f6fbd2823c2e31038f53ccc9","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"def CoerceInt(v):"},{"line_number":91,"context_line":"    try:"},{"line_number":92,"context_line":"        return int(v)"},{"line_number":93,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_0522a252","line":90,"in_reply_to":"3a57f1b5_ccddc743","updated":"2016-02-11 12:50:57.000000000","message":"ditto","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"c22240c529ae811026033d03117779699fec59ee","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"def CoerceInt(v):"},{"line_number":91,"context_line":"    try:"},{"line_number":92,"context_line":"        return int(v)"},{"line_number":93,"context_line":"    except (TypeError, ValueError) as e:"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_ccddc743","line":90,"in_reply_to":"3a57f1b5_d7900aef","updated":"2016-02-10 17:38:40.000000000","message":"ditto","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":94,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"class AnyOfTypes(object):"},{"line_number":98,"context_line":"    \"\"\"Helper to make voluptuous one of X valid types."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    The default behavior of lists does not seem to do this."}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_e28d467c","line":97,"updated":"2016-02-10 10:31:30.000000000","message":"This is not what you need. You just need IsInstance() and combine it with voluptuous.Any as needed.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"4027b6a14586b7ed73c45e5b3d5d146983bbc5a0","unresolved":false,"context_lines":[{"line_number":94,"context_line":"        raise Invalid(encodeutils.exception_to_unicode(e))"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"class AnyOfTypes(object):"},{"line_number":98,"context_line":"    \"\"\"Helper to make voluptuous one of X valid types."},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    The default behavior of lists does not seem to do this."}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_1555254f","line":97,"in_reply_to":"3a57f1b5_e28d467c","updated":"2016-02-10 16:39:53.000000000","message":"Will try that.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        self.allowed_types \u003d allowed_types"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def __call__(self, v):"},{"line_number":107,"context_line":"        type_matches \u003d sum(isinstance(v, p_type)"},{"line_number":108,"context_line":"                           for p_type in self.allowed_types)"},{"line_number":109,"context_line":"        if not type_matches:"},{"line_number":110,"context_line":"            allowed_types \u003d set(p_type.__name__"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_d7a7aa4d","line":107,"range":{"start_line":107,"start_character":23,"end_line":107,"end_character":26},"updated":"2016-02-10 10:31:30.000000000","message":"any()\n\nand any will stop at first True, where sum will not.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"4027b6a14586b7ed73c45e5b3d5d146983bbc5a0","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        self.allowed_types \u003d allowed_types"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def __call__(self, v):"},{"line_number":107,"context_line":"        type_matches \u003d sum(isinstance(v, p_type)"},{"line_number":108,"context_line":"                           for p_type in self.allowed_types)"},{"line_number":109,"context_line":"        if not type_matches:"},{"line_number":110,"context_line":"            allowed_types \u003d set(p_type.__name__"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_b5cc5136","line":107,"range":{"start_line":107,"start_character":23,"end_line":107,"end_character":26},"in_reply_to":"3a57f1b5_d7a7aa4d","updated":"2016-02-10 16:39:53.000000000","message":"Ah. good point, forgot about that.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"687182332298c7a43a2195bacbb986af038505cc","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        return \u0027AnyOfTypes(%s)\u0027 % (list(self.allowed_types))"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"AnyOfStrTypes \u003d AnyOfTypes((six.text_type, six.binary_type))"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"def merge_schema(s1, s2, preserve\u003dFalse, **kwargs):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_02c5028d","line":119,"updated":"2016-02-10 10:31:30.000000000","message":"The best thing is just to write six.text_type (or six.binary_type) and let the call to it convert it IMHO.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"4027b6a14586b7ed73c45e5b3d5d146983bbc5a0","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        return \u0027AnyOfTypes(%s)\u0027 % (list(self.allowed_types))"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"AnyOfStrTypes \u003d AnyOfTypes((six.text_type, six.binary_type))"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"def merge_schema(s1, s2, preserve\u003dFalse, **kwargs):"}],"source_content_type":"text/x-python","patch_set":9,"id":"3a57f1b5_d5e54da8","line":119,"in_reply_to":"3a57f1b5_02c5028d","updated":"2016-02-10 16:39:53.000000000","message":"Sure, that\u0027s cool.","commit_id":"f3fff79b16a23ec0e13eeb06d7b79223c2900dc6"}]}
