Project

General

Profile

Actions

Idea #19792

closed

Python SDK cookbook explains its examples better

Added by Brett Smith about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Start date:
01/02/2023
Due date:
Story points:
1.0
Release relationship:
Auto

Description

The examples in the Python SDK cookbook are good illustrations of common tasks, but there isn't much in there to help the reader understand why the code is structured the way it is, or how they might adapt the code to their particular use case. Expand the cookbook to improve this situation.

  • Organize the recipes into related sections.
  • Add a preface to each recipe to detail what it does and give a use case for when you might want it.
  • Add comments to the code to explain tricky parts or suggest how to make common changes.
  • Structure the code to prioritize follow-ability. Use variable names that are as self-documenting as possible. Avoid doing multiple things on one line of code.

Subtasks 1 (0 open1 closed)

Task #19855: Review 19792-pysdk-cookbookResolvedPeter Amstutz01/02/2023Actions

Related issues 1 (0 open1 closed)

Related to Arvados - Feature #6865: [Documentation] Higher Level Python SDK Reference PageDuplicate08/03/2015Actions
Actions

Also available in: Atom PDF