Project

General

Profile

Actions

Support #18799

open

Strategy to generate Python SDK docstrings based on API docs

Added by Peter Amstutz almost 3 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 0.00 h)
Story points:
-

Description

write script that

  • takes the discovery document
  • produces Python stubs with docstrings, type annotations etc corresponding to the google api client
  • adds the stub files to the python SDK
  • runs pydoc

The goal is for the methods/objects found under arvados.api() (generated on the fly by google api client) to be browsable in pydoc.


Files

GroupsIndexDoc.png (124 KB) GroupsIndexDoc.png Brett Smith, 01/16/2023 08:39 PM
GroupsIndexReturns.png (213 KB) GroupsIndexReturns.png Brett Smith, 01/16/2023 08:39 PM
discovery-pydoc-prototype.py (1.71 KB) discovery-pydoc-prototype.py Brett Smith, 01/16/2023 08:39 PM

Subtasks 1 (1 open0 closed)

Task #19724: group reviewNew

Actions

Related issues 3 (2 open1 closed)

Related to Arvados - Support #18263: Plan to document the Python SDKResolvedPeter Amstutz

Actions
Related to Arvados Epics - Story #18800: Update Python SDK documentationNew11/01/202204/30/2023

Actions
Related to Arvados - Bug #19929: Improve documentation in the discovery documentNew

Actions
Actions

Also available in: Atom PDF