)]}'
{"oslo/db/sqlalchemy/session.py":[{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"c422e99f7d78611986b0a0f813bd80051ff3e064","unresolved":false,"context_lines":[{"line_number":460,"context_line":"        connection_trace\u003dconnection_trace"},{"line_number":461,"context_line":"    )"},{"line_number":462,"context_line":""},{"line_number":463,"context_line":"    _init_encoding(url, engine_args)"},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"    # register alternate exception handler"},{"line_number":466,"context_line":"    exc_filters.register_engine(engine)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1abeadc6_582ef8fb","line":463,"updated":"2014-08-22 22:05:35.000000000","message":"im trying to keep create_engine really sparse.    _init_encoding here falls under the realm of _init_connection_args, so I\u0027d like to move it there.   _init_connection_args is a multiple dispatch, so you can choose: either add \"charset\" and \"client_encoding\" logic to _init_connection_args specific to mysql/postgresql, or call upon _init_encoding specific to pg/mysql from within the generic _init_connection_args.","commit_id":"40901ec9e27797c15fa777e1938f426922965df7"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"e16f99dc00070a6b7c46832bdb21a853c64f1c21","unresolved":false,"context_lines":[{"line_number":344,"context_line":"    engine_args \u003d {"},{"line_number":345,"context_line":"        \"pool_recycle\": idle_timeout,"},{"line_number":346,"context_line":"        \u0027convert_unicode\u0027: True,"},{"line_number":347,"context_line":"        \u0027connect_args\u0027: {},"},{"line_number":348,"context_line":"    }"},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"    if connection_debug \u003e\u003d 0:"}],"source_content_type":"text/x-python","patch_set":8,"id":"1abeadc6_5d8f94cc","line":347,"updated":"2014-08-25 16:51:48.000000000","message":"i like this a lot.   I should have made sure this was there in the first place.","commit_id":"0acbf0360ebe0dafc5577df58d94fe354bc75a7d"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"1d880a0b82f8d01904d4b8fdaf99154206015dde","unresolved":false,"context_lines":[{"line_number":445,"context_line":"        engine_args[\u0027connect_args\u0027][\u0027raise_on_warnings\u0027] \u003d False"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":""},{"line_number":448,"context_line":"@_init_connection_args.dispatch_for(\"mysql+mysqldb\")"},{"line_number":449,"context_line":"def _init_connection_args(url, engine_args, **kw):"},{"line_number":450,"context_line":"    # MySQL-python requires use_unicode\u003d0 to avoid performance drop due"},{"line_number":451,"context_line":"    # to internal usage of Python unicode objects in the driver"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa98f980_fee2269f","line":448,"updated":"2014-09-16 18:07:30.000000000","message":"you can bundle these two into one function, two decorators","commit_id":"6f2375eff2f5510b7459efffcd0981f7f1070291"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"b58d3b0d993b6d33814fbef80f61f1ea0db0531d","unresolved":false,"context_lines":[{"line_number":445,"context_line":"        engine_args[\u0027connect_args\u0027][\u0027raise_on_warnings\u0027] \u003d False"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":""},{"line_number":448,"context_line":"@_init_connection_args.dispatch_for(\"mysql+mysqldb\")"},{"line_number":449,"context_line":"def _init_connection_args(url, engine_args, **kw):"},{"line_number":450,"context_line":"    # MySQL-python requires use_unicode\u003d0 to avoid performance drop due"},{"line_number":451,"context_line":"    # to internal usage of Python unicode objects in the driver"}],"source_content_type":"text/x-python","patch_set":9,"id":"da9df570_7d217eb3","line":448,"in_reply_to":"da9df570_64648be5","updated":"2014-09-24 17:36:46.000000000","message":"ah, might be a bug on my end then","commit_id":"6f2375eff2f5510b7459efffcd0981f7f1070291"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"16dbf78327021503801047b8dfdb02537ba22e4e","unresolved":false,"context_lines":[{"line_number":445,"context_line":"        engine_args[\u0027connect_args\u0027][\u0027raise_on_warnings\u0027] \u003d False"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":""},{"line_number":448,"context_line":"@_init_connection_args.dispatch_for(\"mysql+mysqldb\")"},{"line_number":449,"context_line":"def _init_connection_args(url, engine_args, **kw):"},{"line_number":450,"context_line":"    # MySQL-python requires use_unicode\u003d0 to avoid performance drop due"},{"line_number":451,"context_line":"    # to internal usage of Python unicode objects in the driver"}],"source_content_type":"text/x-python","patch_set":9,"id":"da9df570_f3a03e45","line":448,"in_reply_to":"da9df570_7d217eb3","updated":"2014-09-24 19:09:51.000000000","message":"see https://review.openstack.org/123816.  If you want to rebase off this then you should be able to stack the decorators.","commit_id":"6f2375eff2f5510b7459efffcd0981f7f1070291"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e3b3658b10ab5947a1278bbf94b3f326f8249e0a","unresolved":false,"context_lines":[{"line_number":445,"context_line":"        engine_args[\u0027connect_args\u0027][\u0027raise_on_warnings\u0027] \u003d False"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":""},{"line_number":448,"context_line":"@_init_connection_args.dispatch_for(\"mysql+mysqldb\")"},{"line_number":449,"context_line":"def _init_connection_args(url, engine_args, **kw):"},{"line_number":450,"context_line":"    # MySQL-python requires use_unicode\u003d0 to avoid performance drop due"},{"line_number":451,"context_line":"    # to internal usage of Python unicode objects in the driver"}],"source_content_type":"text/x-python","patch_set":9,"id":"da9df570_444a1027","line":448,"in_reply_to":"da9df570_f3a03e45","updated":"2014-09-25 09:08:13.000000000","message":"Done","commit_id":"6f2375eff2f5510b7459efffcd0981f7f1070291"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"5a85f6f0c5901ddb0e4c84acbbdcb2dd152d4d55","unresolved":false,"context_lines":[{"line_number":445,"context_line":"        engine_args[\u0027connect_args\u0027][\u0027raise_on_warnings\u0027] \u003d False"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":""},{"line_number":448,"context_line":"@_init_connection_args.dispatch_for(\"mysql+mysqldb\")"},{"line_number":449,"context_line":"def _init_connection_args(url, engine_args, **kw):"},{"line_number":450,"context_line":"    # MySQL-python requires use_unicode\u003d0 to avoid performance drop due"},{"line_number":451,"context_line":"    # to internal usage of Python unicode objects in the driver"}],"source_content_type":"text/x-python","patch_set":9,"id":"da9df570_64648be5","line":448,"in_reply_to":"fa98f980_fee2269f","updated":"2014-09-24 15:35:04.000000000","message":"If I bundle them, I get the following when running unit tests:\n\n...\n  File \"/home/ihrachyshka/proj/openstack/oslo.db/.tox/py27/lib/python2.7/site-packages/oslo/db/sqlalchemy/utils.py\", line 930, in _invoke_fn\n    return fn(*arg, **kw)\n  File \"/home/ihrachyshka/proj/openstack/oslo.db/.tox/py27/lib/python2.7/site-packages/oslo/db/sqlalchemy/utils.py\", line 890, in __call__\n    self._url_from_target(target), target, arg, kw)\n  File \"/home/ihrachyshka/proj/openstack/oslo.db/.tox/py27/lib/python2.7/site-packages/oslo/db/sqlalchemy/utils.py\", line 927, in _dispatch_on\n    return self._dispatch_on_db_driver(dbname, driver, arg, kw)\n  File \"/home/ihrachyshka/proj/openstack/oslo.db/.tox/py27/lib/python2.7/site-packages/oslo/db/sqlalchemy/utils.py\", line 981, in _dispatch_on_db_driv\ner\n    if self._invoke_fn(fn, arg, kw) is not None:\n  File \"/home/ihrachyshka/proj/openstack/oslo.db/.tox/py27/lib/python2.7/site-packages/oslo/db/sqlalchemy/utils.py\", line 930, in _invoke_fn\n    return fn(*arg, **kw)\n...\nRuntimeError: maximum recursion depth exceeded in cmp","commit_id":"6f2375eff2f5510b7459efffcd0981f7f1070291"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"5abd91446451a19beb15f38dbe564b024e14bca6","unresolved":false,"context_lines":[{"line_number":427,"context_line":"@_init_connection_args.dispatch_for(\"postgresql\")"},{"line_number":428,"context_line":"def _init_connection_args(url, engine_args, **kw):"},{"line_number":429,"context_line":"    if \u0027client_encoding\u0027 not in url.query:"},{"line_number":430,"context_line":"        engine_args[\u0027connect_args\u0027][\u0027client_encoding\u0027] \u003d \u0027utf8\u0027"},{"line_number":431,"context_line":""},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"@_init_connection_args.dispatch_for(\"mysql\")"}],"source_content_type":"text/x-python","patch_set":10,"id":"baa201ad_828ca3db","line":430,"updated":"2014-10-07 17:40:47.000000000","message":"engine_args[\u0027client_encoding\u0027] \u003d \u0027utf8\u0027\n\nsee http://docs.sqlalchemy.org/en/rel_0_9/dialects/postgresql.html#unicode","commit_id":"71c25693417c465b3fdc8e893fa67be990d6dbd9"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"8e78bbff31442b2562b1415a5d3c749a1a3fe5be","unresolved":false,"context_lines":[{"line_number":427,"context_line":"@_init_connection_args.dispatch_for(\"postgresql\")"},{"line_number":428,"context_line":"def _init_connection_args(url, engine_args, **kw):"},{"line_number":429,"context_line":"    if \u0027client_encoding\u0027 not in url.query:"},{"line_number":430,"context_line":"        engine_args[\u0027connect_args\u0027][\u0027client_encoding\u0027] \u003d \u0027utf8\u0027"},{"line_number":431,"context_line":""},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"@_init_connection_args.dispatch_for(\"mysql\")"}],"source_content_type":"text/x-python","patch_set":10,"id":"baa201ad_3b5d8749","line":430,"in_reply_to":"baa201ad_828ca3db","updated":"2014-10-10 14:37:59.000000000","message":"Done","commit_id":"71c25693417c465b3fdc8e893fa67be990d6dbd9"},{"author":{"_account_id":6849,"name":"Roman Podoliaka","email":"roman.podoliaka@gmail.com","username":"rpodolyaka"},"change_message_id":"ef7137993c5154327e0d8deaf93ae0f749669f3c","unresolved":false,"context_lines":[{"line_number":430,"context_line":"        # Set encoding using engine_args instead of connect_args since"},{"line_number":431,"context_line":"        # it\u0027s supported for PostgreSQL 8.*. More details at:"},{"line_number":432,"context_line":"        # http://docs.sqlalchemy.org/en/rel_0_9/dialects/postgresql.html"},{"line_number":433,"context_line":"        engine_args[\u0027client_encoding\u0027] \u003d \u0027utf8\u0027"},{"line_number":434,"context_line":""},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"@_init_connection_args.dispatch_for(\"mysql\")"}],"source_content_type":"text/x-python","patch_set":11,"id":"baa201ad_0d461f7b","line":433,"updated":"2014-10-17 09:30:25.000000000","message":"nice trick! ;)","commit_id":"150077b9d2c1a15176cf1bd52ff08681f852c6ad"}],"tests/sqlalchemy/test_sqlalchemy.py":[{"author":{"_account_id":6849,"name":"Roman Podoliaka","email":"roman.podoliaka@gmail.com","username":"rpodolyaka"},"change_message_id":"ef7137993c5154327e0d8deaf93ae0f749669f3c","unresolved":false,"context_lines":[{"line_number":42,"context_line":"_REGEXP_TABLE_NAME \u003d _TABLE_NAME + \"regexp\""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"get_args \u003d lambda: {\u0027connect_args\u0027: {}}"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"class RegexpTable(BASE, models.ModelBase):"}],"source_content_type":"text/x-python","patch_set":11,"id":"baa201ad_d0310aa3","line":45,"updated":"2014-10-17 09:30:25.000000000","message":"this seems to be a perfect candidate to be put into setUp()","commit_id":"150077b9d2c1a15176cf1bd52ff08681f852c6ad"}]}
