diff --git a/deckhand/db/sqlalchemy/api.py b/deckhand/db/sqlalchemy/api.py index 0a6b78c5..fc2229d2 100644 --- a/deckhand/db/sqlalchemy/api.py +++ b/deckhand/db/sqlalchemy/api.py @@ -369,7 +369,7 @@ def document_get(session=None, raw_dict=False, revision_id=None, **filters): if any([x in f for x in ('.', 'schema')]): nested_filters.setdefault(f, filters.pop(f)) - # Documents with the the same metadata.name and schema can exist across + # Documents with the same metadata.name and schema can exist across # different revisions, so it is necessary to order documents by creation # date, then return the first document that matches all desired filters. documents = session.query(models.Document)\ diff --git a/doc/source/documents.rst b/doc/source/documents.rst index ef442cef..e20e4a8c 100644 --- a/doc/source/documents.rst +++ b/doc/source/documents.rst @@ -75,7 +75,7 @@ combination of: #. ``metadata.name`` #. ``schema`` -Because collisions with respect to the the third parameter -- +Because collisions with respect to the third parameter -- ``metadata.layeringDefinition.layer`` -- can only occur with :ref:`replacement`. But after document rendering, the replacement-parent documents are never returned.