animedex.transport.read_only
Advisory method classification for raw API calls.
The raw animedex api passthrough does not block HTTP methods on
the user’s behalf. This module keeps a small, non-enforcing classifier
for documentation, diagnostics, and callers that want to label a
request before sending it. A result of False is information only;
the transport layer still forwards the user’s chosen method and path.
known_backends
classify_read_only
- animedex.transport.read_only.classify_read_only(backend: str, method: str, path: str) bool | None[source]
Classify whether a method/path pair is known to be read-only.
Truemeans the pair is a known read,Falsemeans the pair is not known to be read-only, andNonemeans the backend is not in the advisory registry. The classifier never raises and never blocks transport.