MCPcopy Create free account
hub / github.com/cdgriffith/Box / __process_dotted_key

Method __process_dotted_key

box/box.py:495–501  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

493 self.__dict__.update(state)
494
495 def __process_dotted_key(self, item):
496 if self._box_config["box_dots"] and isinstance(item, str):
497 return ("[" in item) or (
498 "." in item
499 and not (self._box_config["box_dots_exclude"] and self._box_config["box_dots_exclude"].match(item))
500 )
501 return False
502
503 def __get_default(self, item, attr=False):
504 if item in ("getdoc", "shape") and _is_ipython():

Callers 4

__get_defaultMethod · 0.95
__getitem__Method · 0.95
__setitem__Method · 0.95
__delitem__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected