MCPcopy Create free account
hub / github.com/apache/qpid-proton / __init__

Method __init__

python/proton/_data.py:506–516  ·  view source on GitHub ↗
(
            self,
            t: Optional[List[Any]] = None,
            raise_on_error: bool = True
    )

Source from the content-addressed store, hash-verified

504 """
505
506 def __init__(
507 self,
508 t: Optional[List[Any]] = None,
509 raise_on_error: bool = True
510 ) -> None:
511 super(SymbolList, self).__init__()
512 self.raise_on_error = raise_on_error
513 if isinstance(t, (str, symbol)):
514 self.append(t)
515 else:
516 self.extend(t)
517
518 def _check_list(self, t: Iterable[Any]) -> List[Any]:
519 """ Check all items in list are :class:`symbol`s (or are converted to symbols). """

Callers

nothing calls this directly

Calls 3

appendMethod · 0.95
extendMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected