add docstring for test_launch

This commit is contained in:
Abubakar Abid 2022-03-29 08:08:46 -07:00
parent 745826dc9d
commit a839379823

View File

@ -658,6 +658,10 @@ class Interface(Blocks):
return interpretation.run_interpret(self, raw_input)
def test_launch(self) -> None:
"""
Passes a few samples through the function to test if the inputs/outputs
components are consistent with the function parameter and return values.
"""
for predict_fn in self.predict:
print("Test launch: {}()...".format(predict_fn.__name__), end=" ")
raw_input = []