Commit 54ccf2ce authored by juga's avatar juga
Browse files

Add args to method to filter results

that are away from each other a min num of secs and have at least
x results
parent 5ff83f4c
......@@ -254,7 +254,8 @@ class V3BWLine(object):
return self.bw_strv110
@classmethod
def from_results(cls, results):
def from_results(cls, results, secs_recent=None, secs_away=None,
min_num=0):
"""Convert sbws results to relays' Bandwidth Lines
``bs`` stands for Bytes/seconds
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment