Skip to main content

has_sentinel

Function
This function is defined in the secrets module.
True if text contains a minted sentinel token. An egress guard uses this to detect that a request carries a credential and must therefore pass the host allowlist before :func:desentinelize runs.

Signature

Parameters

str
required
No description available.

Returns

bool
The result of the operation.

Uses

  • findall

Source

View on GitHub

praisonaiagents/secrets.py at line 469