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.A polars DataFrame of the dataset result.