MCPcopy
hub / github.com/marimo-team/marimo / map

Method map

marimo/_runtime/_wasm/_concurrency/_mp_pool.py:250–258  ·  view source on GitHub ↗
(
        self,
        func: Callable[[Any], Any],
        iterable: Iterable[Any],
        chunksize: int | None = None,
    )

Source from the content-addressed store, hash-verified

248 )
249
250 def map(
251 self,
252 func: Callable[[Any], Any],
253 iterable: Iterable[Any],
254 chunksize: int | None = None,
255 ) -> list[Any]:
256 self._check_running()
257 _validate_map_chunksize(chunksize)
258 return list(self._executor.map(func, iterable))
259
260 def map_async(
261 self,

Callers 15

loadAndValidateProvidersFunction · 0.45
parseProvidersFunction · 0.45
mergeModelsFunction · 0.45
indentOneTabFunction · 0.45
markdown-parser.tsFile · 0.45
printResultsFunction · 0.45
rebuildFunction · 0.45
messageFunction · 0.45
pressShortcutFunction · 0.45
NotebookListFunction · 0.45

Calls 2

_check_runningMethod · 0.95
_validate_map_chunksizeFunction · 0.85

Tested by 15

printResultsFunction · 0.36
createMockRowFunction · 0.36
HarnessFunction · 0.36
getOptionTextsFunction · 0.36
PanelHarnessFunction · 0.36
WrapperFunction · 0.36
buildFilterTestTableFunction · 0.36
shapeFunction · 0.36
configsFunction · 0.36
layoutOfFunction · 0.36
printCellsFunction · 0.36
formatCellsFunction · 0.36