MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / generate_inputs

Function generate_inputs

example_code/item_052.py:93–95  ·  view source on GitHub ↗
(data_dir)

Source from the content-addressed store, hash-verified

91import os
92
93def generate_inputs(data_dir):
94 for name in os.listdir(data_dir):
95 yield PathInputData(os.path.join(data_dir, name))
96
97
98print("Example 6")

Callers 1

mapreduceFunction · 0.85

Calls 1

PathInputDataClass · 0.85

Tested by

no test coverage detected