MCPcopy Create free account
hub / github.com/Louisym/MiniCC / allow

Method allow

tutorials/19_process_and_pipe_communication.py:609–610  ·  view source on GitHub ↗
(cls, messages: list[str])

Source from the content-addressed store, hash-verified

607
608 @classmethod
609 def allow(cls, messages: list[str]) -> HookRunResult:
610 return cls(denied=False, messages=messages)
611
612 def is_denied(self) -> bool:
613 return self.denied

Callers 1

run_hooksFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected