)]}'
{"neutron_lib/db/model_base.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"22bdd631259e0858c78c16d1ac5b781e66cddd3b","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    status_description \u003d sa.Column(sa.String(db_const.DESCRIPTION_FIELD_SIZE))"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"class NeutronBase(models.ModelBase):"},{"line_number":49,"context_line":"    \"\"\"Base class for Neutron Models.\"\"\""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    __table_args__ \u003d {\u0027mysql_engine\u0027: \u0027InnoDB\u0027}"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_02827794","line":48,"range":{"start_line":48,"start_character":6,"end_line":48,"end_character":17},"updated":"2016-07-18 17:09:07.000000000","message":"I don\u0027t see this being used outside the module here; private candidate??","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"22bdd631259e0858c78c16d1ac5b781e66cddd3b","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                                               id(self), \u0027, \u0027.join(items))"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"class NeutronBaseV2(NeutronBase):"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    @declarative.declared_attr"},{"line_number":75,"context_line":"    def __tablename__(cls):"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_229a1b15","line":72,"range":{"start_line":72,"start_character":6,"end_line":72,"end_character":19},"updated":"2016-07-18 17:09:07.000000000","message":"It looks like consumers use the BASEV2 attr outside of this module so can\u0027t we make NeutronBaseV2 private?","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a41ee6838bbd2f9a82161a6f59c691939ca32a16","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                                               id(self), \u0027, \u0027.join(items))"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"class NeutronBaseV2(NeutronBase):"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    @declarative.declared_attr"},{"line_number":75,"context_line":"    def __tablename__(cls):"}],"source_content_type":"text/x-python","patch_set":4,"id":"bacf61ea_1739a2f2","line":72,"range":{"start_line":72,"start_character":6,"end_line":72,"end_character":19},"in_reply_to":"dada55a8_229a1b15","updated":"2016-07-30 20:10:51.000000000","message":"Unfortunately I find two projects using it:\nhttp://codesearch.openstack.org/?q\u003dNeutronBaseV2","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"22bdd631259e0858c78c16d1ac5b781e66cddd3b","unresolved":false,"context_lines":[{"line_number":122,"context_line":"    }"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"class HasStandardAttributes(object):"},{"line_number":126,"context_line":"    @declarative.declared_attr"},{"line_number":127,"context_line":"    def standard_attr_id(cls):"},{"line_number":128,"context_line":"        return sa.Column("}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_3de99e1b","line":125,"range":{"start_line":125,"start_character":6,"end_line":125,"end_character":27},"updated":"2016-07-18 17:09:07.000000000","message":"This class as well as a number of its public methods are not doc\u0027d; is that coming in a follow-on patch?","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a41ee6838bbd2f9a82161a6f59c691939ca32a16","unresolved":false,"context_lines":[{"line_number":122,"context_line":"    }"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"class HasStandardAttributes(object):"},{"line_number":126,"context_line":"    @declarative.declared_attr"},{"line_number":127,"context_line":"    def standard_attr_id(cls):"},{"line_number":128,"context_line":"        return sa.Column("}],"source_content_type":"text/x-python","patch_set":4,"id":"bacf61ea_1a5549f9","line":125,"range":{"start_line":125,"start_character":6,"end_line":125,"end_character":27},"in_reply_to":"dada55a8_3de99e1b","updated":"2016-07-30 20:10:51.000000000","message":"Yes. To avoid opening too many TODO bugs I have dredged up an old etherpad [1] where I will note such follow-up items.\n\n[1] https://etherpad.openstack.org/p/neutron-lib-db","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"22bdd631259e0858c78c16d1ac5b781e66cddd3b","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        self.standard_attr.revision_number +\u003d 1"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"def get_unique_keys(model):"},{"line_number":184,"context_line":"    try:"},{"line_number":185,"context_line":"        constraints \u003d model.__table__.constraints"},{"line_number":186,"context_line":"    except AttributeError:"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_bddd8e72","line":183,"range":{"start_line":183,"start_character":4,"end_line":183,"end_character":19},"updated":"2016-07-18 17:09:07.000000000","message":"docs coming later for this public function?","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a41ee6838bbd2f9a82161a6f59c691939ca32a16","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        self.standard_attr.revision_number +\u003d 1"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"def get_unique_keys(model):"},{"line_number":184,"context_line":"    try:"},{"line_number":185,"context_line":"        constraints \u003d model.__table__.constraints"},{"line_number":186,"context_line":"    except AttributeError:"}],"source_content_type":"text/x-python","patch_set":4,"id":"bacf61ea_fa595536","line":183,"range":{"start_line":183,"start_character":4,"end_line":183,"end_character":19},"in_reply_to":"dada55a8_bddd8e72","updated":"2016-07-30 20:10:51.000000000","message":"ditto","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"cdb05adba578a287800acfffc518c8b880a0a2e0","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    status_description \u003d sa.Column(sa.String(db_const.DESCRIPTION_FIELD_SIZE))"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"class NeutronBase(models.ModelBase):"},{"line_number":49,"context_line":"    \"\"\"Base class for Neutron Models.\"\"\""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    __table_args__ \u003d {\u0027mysql_engine\u0027: \u0027InnoDB\u0027}"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_89e0b9ce","line":48,"range":{"start_line":48,"start_character":6,"end_line":48,"end_character":17},"updated":"2016-08-01 12:04:04.000000000","message":"As mentioned on patch 4; I don\u0027t think this is used outside of this module is it? Seems like it could be private if we desired.","commit_id":"0ffb55d6d938dbd6ae6c9246e61ef7a3733d1e6e"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"4d04b19ef224f38e2967f05592b462f55db49b5c","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    status_description \u003d sa.Column(sa.String(db_const.DESCRIPTION_FIELD_SIZE))"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"class NeutronBase(models.ModelBase):"},{"line_number":49,"context_line":"    \"\"\"Base class for Neutron Models.\"\"\""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"    __table_args__ \u003d {\u0027mysql_engine\u0027: \u0027InnoDB\u0027}"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_2ea9a590","line":48,"range":{"start_line":48,"start_character":6,"end_line":48,"end_character":17},"in_reply_to":"bacf61ea_89e0b9ce","updated":"2016-08-07 20:57:19.000000000","message":"Yes, I will try making this one private","commit_id":"0ffb55d6d938dbd6ae6c9246e61ef7a3733d1e6e"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"e5986c2a6a27338fc969453a4ffb3264d77ace5b","unresolved":false,"context_lines":[{"line_number":121,"context_line":"BASEV2 \u003d declarative.declarative_base(cls\u003dNeutronBaseV2)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"class StandardAttribute(BASEV2, models.TimestampMixin):"},{"line_number":125,"context_line":"    \"\"\"Common table to associate all Neutron API resources."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    By having Neutron objects related to this table, we can associate new"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_8fc4f840","line":124,"updated":"2016-08-19 12:30:47.000000000","message":"@Doug, no worries. You can still write everything into CSVs. :)","commit_id":"89ffacc41e5692685791c0a816cad25ee9a1169e"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"cc9b1f48484e2245a6f2a89c086adab205ac1fb7","unresolved":false,"context_lines":[{"line_number":121,"context_line":"BASEV2 \u003d declarative.declarative_base(cls\u003dNeutronBaseV2)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"class StandardAttribute(BASEV2, models.TimestampMixin):"},{"line_number":125,"context_line":"    \"\"\"Common table to associate all Neutron API resources."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    By having Neutron objects related to this table, we can associate new"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_38954d40","line":124,"updated":"2016-08-19 12:05:39.000000000","message":"This and HasStandardAttributes probably shouldn\u0027t live in neutron-lib. It ties neutron-lib directly to a data model in Neutron. That means that neutron-lib requirements.txt entries would have to be pinned in Neutron to the specific version that has the correct schema for the state of the DB migrations...","commit_id":"89ffacc41e5692685791c0a816cad25ee9a1169e"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"5f9320df0243640491bfcd7120c53fda1cf8ccd2","unresolved":false,"context_lines":[{"line_number":121,"context_line":"BASEV2 \u003d declarative.declarative_base(cls\u003dNeutronBaseV2)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"class StandardAttribute(BASEV2, models.TimestampMixin):"},{"line_number":125,"context_line":"    \"\"\"Common table to associate all Neutron API resources."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    By having Neutron objects related to this table, we can associate new"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_581da9bc","line":124,"in_reply_to":"1ac06dbe_38954d40","updated":"2016-08-19 12:11:53.000000000","message":"Makes sense.","commit_id":"89ffacc41e5692685791c0a816cad25ee9a1169e"},{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"b6b8ae7452efe82634e39490eca0db991b30ae5e","unresolved":false,"context_lines":[{"line_number":121,"context_line":"BASEV2 \u003d declarative.declarative_base(cls\u003dNeutronBaseV2)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"class StandardAttribute(BASEV2, models.TimestampMixin):"},{"line_number":125,"context_line":"    \"\"\"Common table to associate all Neutron API resources."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"    By having Neutron objects related to this table, we can associate new"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_982f21f6","line":124,"in_reply_to":"1ac06dbe_38954d40","updated":"2016-08-19 12:07:22.000000000","message":"Oh yeah, kill this JOIN madness with fire.  I mean, kick it back to neutron.","commit_id":"89ffacc41e5692685791c0a816cad25ee9a1169e"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"5f9320df0243640491bfcd7120c53fda1cf8ccd2","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        self.standard_attr.revision_number +\u003d 1"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"def get_unique_keys(model):"},{"line_number":234,"context_line":"    try:"},{"line_number":235,"context_line":"        constraints \u003d model.__table__.constraints"},{"line_number":236,"context_line":"    except AttributeError:"}],"source_content_type":"text/x-python","patch_set":8,"id":"1ac06dbe_185b3156","line":233,"updated":"2016-08-19 12:11:53.000000000","message":"This is not used outside neutron core yet, so i\u0027ll not put this in neutron-lib at this point.","commit_id":"89ffacc41e5692685791c0a816cad25ee9a1169e"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"b731c01fd1b1454942680b2511d094aa261b6577","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    def __getattribute__(self, item):"},{"line_number":43,"context_line":"        if item \u003d\u003d \u0027tenant_id\u0027:"},{"line_number":44,"context_line":"            debtcollector.deprecate(item, message\u003d\"use project_id instead\","},{"line_number":45,"context_line":"                                    version\u003d\u0027Newton\u0027, stacklevel\u003d4)"},{"line_number":46,"context_line":"        return super(HasProject, self).__getattribute__(item)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"1ac06dbe_0f83e8cd","line":45,"updated":"2016-08-19 12:33:38.000000000","message":"remove the version reference. we have to carry this longer in neutron-lib","commit_id":"20c85efa7eb5b60a0b41b5732fb22303136fcc3f"},{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"8bb8f72510d6c3f779d475273032b70b3df4fd4f","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        if item \u003d\u003d \u0027tenant_id\u0027:"},{"line_number":44,"context_line":"            debtcollector.deprecate(item, message\u003d\"use project_id instead\","},{"line_number":45,"context_line":"                                    version\u003d\u0027Newton\u0027, stacklevel\u003d4)"},{"line_number":46,"context_line":"        return super(HasProject, self).__getattribute__(item)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"class HasProjectNoIndex(HasProject):"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ac06dbe_2f2224ba","line":46,"updated":"2016-08-19 12:36:44.000000000","message":"Why not just support tenant_id forever?  It\u0027s cheap, no maintenance, and is silly churn to remove.","commit_id":"20c85efa7eb5b60a0b41b5732fb22303136fcc3f"},{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"eb7b5130cbc2b5f95d9f6010114997446e4ff62a","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            \u0027project_id\u0027,"},{"line_number":40,"context_line":"            descriptor\u003dproperty(cls.get_tenant_id, cls.set_tenant_id))"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    def __getattribute__(self, item):"},{"line_number":43,"context_line":"        if item \u003d\u003d \u0027tenant_id\u0027:"},{"line_number":44,"context_line":"            debtcollector.deprecate(item, message\u003d\"use project_id instead\","},{"line_number":45,"context_line":"                                    stacklevel\u003d4)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1ac06dbe_e25b032d","line":42,"updated":"2016-08-19 12:38:32.000000000","message":"I\u0027d just get rid of this entire __getattribute__. It\u0027s not even worth a log to complain about tenant_id, since it costs nothing to carry forever.","commit_id":"a27e3b0d8b8624f35de14d47662fc54f47345eee"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"8cebc40c068b1351c16c56e5fa70808b8fb5bdf8","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            \u0027project_id\u0027,"},{"line_number":40,"context_line":"            descriptor\u003dproperty(cls.get_tenant_id, cls.set_tenant_id))"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    def __getattribute__(self, item):"},{"line_number":43,"context_line":"        if item \u003d\u003d \u0027tenant_id\u0027:"},{"line_number":44,"context_line":"            debtcollector.deprecate(item, message\u003d\"use project_id instead\","},{"line_number":45,"context_line":"                                    stacklevel\u003d4)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1ac06dbe_223cfb2e","line":42,"in_reply_to":"1ac06dbe_e25b032d","updated":"2016-08-19 12:45:18.000000000","message":"OK fine.","commit_id":"a27e3b0d8b8624f35de14d47662fc54f47345eee"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"85a690f1f297a4f1a59e8f879a13ae74e55790e0","unresolved":false,"context_lines":[{"line_number":70,"context_line":"                   default\u003duuidutils.generate_uuid)"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"class HasStatusDescription(object):"},{"line_number":74,"context_line":"    \"\"\"Status with description mixin.\"\"\""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    status \u003d sa.Column(sa.String(db_const.STATUS_FIELD_SIZE),"}],"source_content_type":"text/x-python","patch_set":11,"id":"1ac06dbe_05b6298a","line":73,"updated":"2016-08-19 13:02:40.000000000","message":"not sure about that one: why is it considered common enough to maintain it in the lib? I see it\u0027s used in lbaas and vmware, but is it the sole criterion to move stuff here?","commit_id":"8be88da5c1e14b2fc2b98207c4a33bad61127ffb"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"997a2ef63a42117f18f809272806d0ba221c15d1","unresolved":false,"context_lines":[{"line_number":70,"context_line":"                   default\u003duuidutils.generate_uuid)"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"class HasStatusDescription(object):"},{"line_number":74,"context_line":"    \"\"\"Status with description mixin.\"\"\""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"    status \u003d sa.Column(sa.String(db_const.STATUS_FIELD_SIZE),"}],"source_content_type":"text/x-python","patch_set":11,"id":"1ac06dbe_56261517","line":73,"in_reply_to":"1ac06dbe_05b6298a","updated":"2016-08-19 13:39:27.000000000","message":"I wouldn\u0027t say it\u0027s the *sole* criterion, but if something helps projects to decouple from neutron core then it is a good candidate to have in neutron-lib.","commit_id":"8be88da5c1e14b2fc2b98207c4a33bad61127ffb"}],"neutron_lib/db/utils.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"22bdd631259e0858c78c16d1ac5b781e66cddd3b","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            \u0027result_filters\u0027: result_filters}"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    @classmethod"},{"line_number":133,"context_line":"    def register_dict_extend_funcs(cls, resource, funcs):"},{"line_number":134,"context_line":"        cls._dict_extend_functions.setdefault(resource, []).extend(funcs)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    def model_query_scope(self, context, model):"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_9dac0aef","line":133,"range":{"start_line":133,"start_character":8,"end_line":133,"end_character":34},"updated":"2016-07-18 17:09:07.000000000","message":"Going to doc these public methods once the class is made public?","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a41ee6838bbd2f9a82161a6f59c691939ca32a16","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            \u0027result_filters\u0027: result_filters}"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    @classmethod"},{"line_number":133,"context_line":"    def register_dict_extend_funcs(cls, resource, funcs):"},{"line_number":134,"context_line":"        cls._dict_extend_functions.setdefault(resource, []).extend(funcs)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    def model_query_scope(self, context, model):"}],"source_content_type":"text/x-python","patch_set":4,"id":"bacf61ea_5a434142","line":133,"range":{"start_line":133,"start_character":8,"end_line":133,"end_character":34},"in_reply_to":"dada55a8_9dac0aef","updated":"2016-07-30 20:10:51.000000000","message":"ditto","commit_id":"601bc9291b044c75a5ad2a63514de55024eed697"}],"neutron_lib/tests/unit/db/test_utils.py":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"d491c3c79f0eea34421644dc56c066e6252b3742","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        selected \u003d CommonDbMixin()._fields(resource, [])"},{"line_number":201,"context_line":"        self.assertEqual(resource, selected)"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def test_get_by_id(self):"},{"line_number":204,"context_line":"        session \u003d db_api.get_session()"},{"line_number":205,"context_line":"        mock.patch.object(sa.orm.query.Query, \u0027one\u0027).start()"},{"line_number":206,"context_line":"        plugin \u003d CommonDbMixin()"},{"line_number":207,"context_line":"        with session.begin():"},{"line_number":208,"context_line":"            plugin._get_by_id(self.tenant_ctx, ModelWithTenant, 1234)"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"    def test_filter_non_model_columns(self):"},{"line_number":211,"context_line":"        data \u003d {\u0027id\u0027: 123, \u0027tenant_id\u0027: \u0027moi\u0027, \u0027other\u0027: \u0027foo\u0027}"}],"source_content_type":"text/x-python","patch_set":3,"id":"fad55976_f9a06ea1","line":208,"range":{"start_line":203,"start_character":0,"end_line":208,"end_character":69},"updated":"2016-07-17 04:45:25.000000000","message":"Not needed, there is a better test at line 319.","commit_id":"f429a54d9b79c52cace07cfd7ad09492f83384b0"}],"requirements.txt":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"eea8c871d55018426d139dac2c0250e1e3afda9c","unresolved":false,"context_lines":[{"line_number":6,"context_line":"Babel\u003e\u003d2.3.4 # BSD"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"debtcollector\u003e\u003d1.2.0 # Apache-2.0"},{"line_number":9,"context_line":"fixtures\u003e\u003d3.0.0 # Apache-2.0/BSD"},{"line_number":10,"context_line":"oslo.config\u003e\u003d3.10.0 # Apache-2.0"},{"line_number":11,"context_line":"oslo.db\u003e\u003d4.1.0 # Apache-2.0"},{"line_number":12,"context_line":"oslo.i18n\u003e\u003d2.1.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":2,"id":"1aa78d24_958004c1","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":8},"updated":"2016-07-11 19:41:46.000000000","message":"Is this even used?\nIf so shouldn\u0027t it be in test-requirements.txt?","commit_id":"0c2d9daafda47e07c4367c34335be06266660c1c"}]}
