MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / __init__

Method __init__

couchbase/_utils.py:317–322  ·  view source on GitHub ↗
(self, transforms  # type: List[BidirectionalTransform]
                 )

Source from the content-addressed store, hash-verified

315class BidirectionalMapping:
316
317 def __init__(self, transforms # type: List[BidirectionalTransform]
318 ):
319 self._transforms = transforms
320 self._mapping = {}
321 for t in self._transforms:
322 self._mapping.update(t.transform_as_dict())
323
324 @staticmethod
325 def convert_to_dest(mapping, # type: Dict[str, Any]

Callers

nothing calls this directly

Calls 2

updateMethod · 0.80
transform_as_dictMethod · 0.80

Tested by

no test coverage detected