Skip to content

Update or explain output of create_document method #7

@michquinn

Description

@michquinn

Currently create_document returns a document ID rather than one or more documents like the other non-destructive operations. The resulting ID has to be passed to get_document for the relevant API endpoints. Is this behavior intentional? If so, I would recommend adding a comment explaining why, or if not, updating the function to return the result of calling get_document with the new ID as a parameter.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions