)]}'
{"marconi/queues/storage/sqlite/driver.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"ba027593244c9c14b0d39e66eeb6e38bce2481cc","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        opts \u003d _SQLITE_OPTIONS"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        # NOTE(cpp-cabrera): handle sharded context, avoid DuplicateOptError"},{"line_number":45,"context_line":"        if \u0027dynamic\u0027 in conf:"},{"line_number":46,"context_line":"            names \u003d conf[_SQLITE_GROUP].keys()"},{"line_number":47,"context_line":"            opts \u003d filter(lambda x: x.name not in names, opts)"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAT3%2F%2F1TI%3D","line":45,"updated":"2013-12-30 14:27:47.000000000","message":"What do you think about having a classmethod called `register_config` to which we pass a ConfigOpts instance and it takes care of all this?\n\nAlso, what do you think about just checking whether the group already exists in the ConfigOpts instance? Instead of iterating / filtering the keys? If we expose that method, we can safely assume it was previously called and that\u0027s why the group already exists.\n\nWe can make it an abstract method in DataDriverBase","commit_id":"9c8706df4854a71ddae798a5cc6320f1dc208f1f"}]}
