Skip to content

Commit

Permalink
Add warning about labels returned. #11
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Van Daele committed Mar 10, 2015
1 parent 01383f3 commit 844b9f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions skosprovider_heritagedata/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ def find(self, query):
with a certain label, with a certain type and for concepts that belong
to a certain collection.
.. warning::
The underlying service returns labels without specifying if they are
prefLabels or altLabels. For a certain concept several labels are
returned. This method does not return labels, but returns concepts.
When multiple labels are detected for a single concept, only one
label is attached to this concept. Since no information is present
about the type of this label, this can be an altLabel for a concept
where a prefLabel exists.
.. code-block:: python
# Find anything that has a label of church.
Expand Down

0 comments on commit 844b9f6

Please sign in to comment.