Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: addition of param and result sections #143

Merged
merged 1 commit into from
Jul 26, 2016

Conversation

hachreak
Copy link
Member

Signed-off-by: Leonardo Rossi leonardo.r@cern.ch

@hachreak hachreak added this to the I3B-API-Docs milestone Jul 22, 2016
@hachreak hachreak self-assigned this Jul 22, 2016
@hachreak hachreak force-pushed the 140_docs branch 2 times, most recently from 52639bd to c12380c Compare July 25, 2016 07:56
called with the data as function parameter.

:param data: Dict with record metadata.
:param _id: Force the UUID for the record.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/_id/id_/

@jirikuncar jirikuncar self-assigned this Jul 26, 2016
@hachreak hachreak changed the title docs: improve documentation docs: addition of param and result sections Jul 26, 2016

:param id_: Record ID.
:param with_deleted: If `True` then it includes deleted records.
:returns: The Record instance.
"""
with db.session.no_autoflush:
query = RecordMetadata.query.filter_by(id=id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id=id_

* Improves documentation. (addresses inveniosoftware#140)

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
@jirikuncar jirikuncar merged commit af2c34e into inveniosoftware:master Jul 26, 2016
@hachreak hachreak deleted the 140_docs branch July 27, 2016 08:13
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.

None yet

2 participants