MCPcopy Create free account
hub / github.com/google-research/language / __init__

Method __init__

language/realm/preprocessing.py:37–39  ·  view source on GitHub ↗
(self, max_queue_size, *args, **kwargs)

Source from the content-addressed store, hash-verified

35 """A Preprocessing server."""
36
37 def __init__(self, max_queue_size, *args, **kwargs):
38 super(PreprocessingServicer, self).__init__(*args, **kwargs)
39 self._queue = queue.Queue(maxsize=max_queue_size)
40
41 def PopExample(self, request, context):
42 return self._queue.get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected