MCPcopy Create free account
hub / github.com/FDA/openfda / BatchHelper

Class BatchHelper

openfda/common.py:19–52  ·  view source on GitHub ↗

Convenience class for batching operations. When more than `batch_size` operations have been added to the batch, `fn` will be invoked with `args` and `kw`. The actual data must be expected via the `batch` argument.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_map_incrementalMethod · 0.90
_map_non_incrementalMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected