Skip to content

Commit b88e1f6

Browse files
committed
Adding example to filter_function doc string
1 parent 22be61d commit b88e1f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mbed_lstools/lstools_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def list_mbeds(
117117
trade of between quality of service and speed
118118
@param filter_function Function that is passed each mbed candidate,
119119
should return True if it should be included in the result
120+
Ex. mbeds = list_mbeds(filter_function=lambda m: m['platform_name'] == 'K64F')
120121
@param unique_names A boolean controlling the presence of the
121122
'platform_unique_name' member of the output dict
122123
@param read_details_text A boolean controlling the presense of the

0 commit comments

Comments
 (0)