MCPcopy
hub / github.com/PokeAPI/pokeapi / with_iter

Function with_iter

data/v2/build.py:75–80  ·  view source on GitHub ↗
(context, iterable=None)

Source from the content-addressed store, hash-verified

73
74
75def with_iter(context, iterable=None):
76 if iterable is None:
77 iterable = context
78 with context:
79 for value in iterable:
80 yield value
81
82
83def load_data(file_name):

Callers 1

load_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected