Skip to content

Commit

Permalink
fix routes_contact.py associate_metadata example
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSAMPERE committed Dec 23, 2019
1 parent 26bdc53 commit 8ec878b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions isogeo_pysdk/api/routes_contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,12 @@ def associate_metadata(
.. code-block:: python
# retrieve a metadata
md = isogeo.metadata.get(METADATA_UUID)
# retrieve a contact
ctct = isogeo.contact.get(CONTACT_UUID)
# associate a contact to a metadata
isogeo.contact.associate_metadata(metadata = md, contact = ctct)
# retrieve a metadata
md = isogeo.metadata.get(METADATA_UUID)
# retrieve a contact
ctct = isogeo.contact.get(CONTACT_UUID)
# associate a contact to a metadata
isogeo.contact.associate_metadata(metadata = md, contact = ctct)
"""
# check metadata UUID
if not checker.check_is_uuid(metadata._id):
Expand Down

0 comments on commit 8ec878b

Please sign in to comment.