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

Method try_unbind

src/structlog/stdlib.py:194–200  ·  view source on GitHub ↗

Like :meth:`unbind`, but best effort: missing keys are ignored. .. versionadded:: 18.2.0

(self, *keys: str)

Source from the content-addressed store, hash-verified

192 return super().unbind(*keys)
193
194 def try_unbind(self, *keys: str) -> Self:
195 """
196 Like :meth:`unbind`, but best effort: missing keys are ignored.
197
198 .. versionadded:: 18.2.0
199 """
200 return super().try_unbind(*keys)
201
202 def new(self, **new_values: Any) -> Self:
203 """

Callers 8

try_unbindMethod · 0.45
test_bind_unbindMethod · 0.45
test_try_unbindMethod · 0.45
test_try_unbind_failMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_bind_unbindMethod · 0.36
test_try_unbindMethod · 0.36
test_try_unbind_failMethod · 0.36