Skip to content

docs: clarify df.status() takes instance_id, not label (#167)#267

Open
crprashant wants to merge 1 commit into
microsoft:mainfrom
crprashant:crprashant/167-clarify-status-docs
Open

docs: clarify df.status() takes instance_id, not label (#167)#267
crprashant wants to merge 1 commit into
microsoft:mainfrom
crprashant:crprashant/167-clarify-status-docs

Conversation

@crprashant

Copy link
Copy Markdown
Contributor

What

Documentation-only clarification for df.status() (and df.result()):

  • State explicitly that the argument is an instance_id returned by df.start(), not a label. Passing a label returns NULL.
  • Document the supported label → instance_id resolution pattern via df.list_instances().
  • Fix the df.status() example casing in docs/api-reference.md: it claimed 'Running'/'Completed', but the function reads df.instances.status directly and returns the lowercase values 'pending' | 'running' | 'completed' | 'failed' | 'cancelled'.

Files touched: docs/api-reference.md, USER_GUIDE.md (Quick Status Check + quick-reference table).

Why

Closes #167. This is PR 1 of the agreed, incremental monitoring-functions plan discussed on #167 — the docs-only fix first, with the listing/pagination/label-filter work (touching #87 and #146) to follow in separate small PRs.

Scope

Docs only — no code, schema, or behavior changes. No first-class label filter is added here; that is a later PR in the plan.

cc @pinodeca @tjgreen42 @AbeOmor

…crosoft#167)

State explicitly that df.status() and df.result() accept an instance_id from df.start(), not a label, and document the supported label -> instance_id resolution pattern via df.list_instances(). Also fix the df.status() example casing to the actual lowercase status values.

Closes microsoft#167
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify that df.status() accepts instance_id, not label

1 participant