Documentation Index
Fetch the complete documentation index at: https://docs.pysquirrels.com/llms.txt
Use this file to discover all available pages before exploring further.
ContextArgs is the class type of the sqrl argument for the context configuration function (i.e. the main function in the pyconfigs/context.py file), which runs every time an API request is made.
The class can be imported from the squirrels.arguments or squirrels module.
Properties
Path to the Squirrels project directory.
A copy of project variables as a dictionary.
A copy of environment variables as a dictionary.
The current authenticated user.
A copy of the parameters dictionary.
A copy of the configurables dictionary (values set by application).
Methods
set_placeholder()
Sets a placeholder value for use in SQL queries.An empty string (because this function is also available to call from Jinja).
param_exists()
Checks whether a given parameter exists and contains options.True if the parameter exists and is enabled, False otherwise.