Skip to main content

ContextArgs

The class for the "sqrl" argument of the main function of context.py. The class contains the same attributes as ParametersArgs and more.

Attributes

Attibutes of the "sqrl" argument that can be accessed.

proj_vars

A dictionary to access a project variable defined in squirrels.yml.

env_vars

A dictionary to access an environment variable defined in environcfg.yml.

user

The authenticated user with type User class defined in auth.py (if applicable), or None if no user authenticated.

prms

A dictionary of the parameter objects (containing the real-time parameter selections) by parameter name.

traits

A dictionary of the dataset traits.