- Overview
- Synthetic tokens
Synthetic tokens
Part of Offline testing in the Python API reference.
Related guidance: getting-started/mock-setup.
Runnable examples: preflight.py.
from picogrid_ecn_client.testing import FULL_ACCESS_TOKENfrom picogrid_ecn_client.testing import READ_ONLY_TOKENfrom picogrid_ecn_client.testing import NO_ACCESS_TOKENSynthetic token with every mock-only ACL label for offline tests.
FULL_ACCESS_TOKEN
Section titled “FULL_ACCESS_TOKEN”Synthetic token with every mock-only ACL label for offline tests.
FULL_ACCESS_TOKEN: strREAD_ONLY_TOKEN
Section titled “READ_ONLY_TOKEN”Synthetic token with mock-only entity and location read labels.
READ_ONLY_TOKEN: strNO_ACCESS_TOKEN
Section titled “NO_ACCESS_TOKEN”Synthetic token with no mock-only ACL labels.
NO_ACCESS_TOKEN: strVersion 0.2.0 · branch main
