Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
juga
sbws
Commits
54ccf2ce
Commit
54ccf2ce
authored
Sep 05, 2018
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/lib/v3bwfile.py
View file @
54ccf2ce
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment