)]}'
{"neutron/agent/linux/tc_lib.py":[{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"26f93de08d8983172fc0ea20cac90cffa5dc06f1","unresolved":false,"context_lines":[{"line_number":151,"context_line":"    \"\"\"Calculate minimum rate (bytes per second) accepted by Pyroute2"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    When creating a TC policy class, this function calculates the minimum"},{"line_number":154,"context_line":"    rate (bytes/sec) accepted by Pyroute2. This method is bases in"},{"line_number":155,"context_line":"    pyroute2.netlink.rtnl.tcmsg.common.calc_xmittime"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    :param rate: (int) rate in bytes per second."}],"source_content_type":"text/x-python","patch_set":1,"id":"1fa4df85_3103b975","line":154,"range":{"start_line":154,"start_character":58,"end_line":154,"end_character":66},"updated":"2020-03-04 08:46:03.000000000","message":"nit: based on ?","commit_id":"8277d605d40f04b52362f61df95ddc1fbfe3cb9a"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"8bdda24fe80a48a426cfa96d8fc33b88ae574184","unresolved":false,"context_lines":[{"line_number":151,"context_line":"    \"\"\"Calculate minimum rate (bytes per second) accepted by Pyroute2"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    When creating a TC policy class, this function calculates the minimum"},{"line_number":154,"context_line":"    rate (bytes/sec) accepted by Pyroute2. This method is bases in"},{"line_number":155,"context_line":"    pyroute2.netlink.rtnl.tcmsg.common.calc_xmittime"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    :param rate: (int) rate in bytes per second."}],"source_content_type":"text/x-python","patch_set":1,"id":"1fa4df85_47f23772","line":154,"range":{"start_line":154,"start_character":58,"end_line":154,"end_character":66},"in_reply_to":"1fa4df85_3103b975","updated":"2020-03-04 10:30:34.000000000","message":"Done","commit_id":"8277d605d40f04b52362f61df95ddc1fbfe3cb9a"},{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"26f93de08d8983172fc0ea20cac90cffa5dc06f1","unresolved":false,"context_lines":[{"line_number":427,"context_line":"    #   - ceil (max bw): bytes/second"},{"line_number":428,"context_line":"    #   - burst: bytes"},{"line_number":429,"context_line":"    # [1] https://www.systutorials.com/docs/linux/man/8-tc/"},{"line_number":430,"context_line":"    args \u003d {\u0027ceil\u0027: int(max_kbps * 1024 / 8),"},{"line_number":431,"context_line":"            \u0027burst\u0027: int(burst_kb * 1024 / 8)}"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"    rate \u003d int((min_kbps or 0) * 1024 / 8)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1fa4df85_110c7d92","line":430,"range":{"start_line":430,"start_character":4,"end_line":430,"end_character":8},"updated":"2020-03-04 08:46:03.000000000","message":"args is usually a list, and kwargs is a dict, so this should be kwargs instead or anything that not defaults to a list in most heads.","commit_id":"8277d605d40f04b52362f61df95ddc1fbfe3cb9a"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"8bdda24fe80a48a426cfa96d8fc33b88ae574184","unresolved":false,"context_lines":[{"line_number":427,"context_line":"    #   - ceil (max bw): bytes/second"},{"line_number":428,"context_line":"    #   - burst: bytes"},{"line_number":429,"context_line":"    # [1] https://www.systutorials.com/docs/linux/man/8-tc/"},{"line_number":430,"context_line":"    args \u003d {\u0027ceil\u0027: int(max_kbps * 1024 / 8),"},{"line_number":431,"context_line":"            \u0027burst\u0027: int(burst_kb * 1024 / 8)}"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"    rate \u003d int((min_kbps or 0) * 1024 / 8)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1fa4df85_27edbb8a","line":430,"range":{"start_line":430,"start_character":4,"end_line":430,"end_character":8},"in_reply_to":"1fa4df85_110c7d92","updated":"2020-03-04 10:30:34.000000000","message":"You are right, let\u0027s use the pythonic default names.","commit_id":"8277d605d40f04b52362f61df95ddc1fbfe3cb9a"}]}
