- Install the SDK if you do not already have it installed.
- Create a Python asset in Less. On the Variables step, add any named values your script should read (API keys, dates, and so on). Then save the asset.
- After saving, the Local SDK setup modal opens. Copy the generated script into your local environment. You can reopen this later from the ⋯ menu by clicking Generate local SDK setup.
- Develop and test locally.
- Copy the script back into Less — omit the
os.environblock at the top. The platform sets those variables when the job runs. - Add a schedule to run the asset on a regular basis.
Get Started
Typical workflow
Develop locally, then run the same script on Less with scheduling and logs.