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.
DashboardArgs is the class type of the sqrl argument for dashboard functions (i.e. the main function in dashboard files in the dashboards/ folder), which runs when an API request is made to the dashboard.
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.
Methods
dataset()
Async method to get a dataset as a polars DataFrame given the dataset name. Unlike thedataset_result method of SquirrelsProject which requires parameter selections to be explicitly provided through code, this method automatically borrows selections applied to the dashboard.
A polars DataFrame of the dataset result.