MCPcopy Create free account
hub / github.com/hynek/structlog / new

Method new

src/structlog/stdlib.py:625–633  ·  view source on GitHub ↗
(self, **new_values: Any)

Source from the content-addressed store, hash-verified

623 )
624
625 def new(self, **new_values: Any) -> Self:
626 return self.__class__(
627 # c.f. comment in bind
628 logger=None, # type: ignore[arg-type]
629 processors=(),
630 context={},
631 _sync_bl=self.sync_bl.new(**new_values),
632 _loop=self._loop,
633 )
634
635 def unbind(self, *keys: str) -> Self:
636 return self.__class__(

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected