Skip to content

Commit 9419af8

Browse files
author
sreeder
committed
update inline documentation
1 parent d91ddc7 commit 9419af8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

odm2api/ODM2/services/readService.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -714,11 +714,11 @@ def getSamplingFeatureDatasets(self, ids=None, codes=None, uuids=None, type=None
714714
codes (list, optional): List of SamplingFeature Codes.
715715
uuids (list, optional): List of UUIDs string.
716716
type (str, optional): Type of Dataset from
717-
`controlled vocabulary name <http://vocabulary.odm2.org/samplingfeaturetype/>`_.
717+
`controlled vocabulary name <http://http://vocabulary.odm2.org/datasettype/>`_.
718718
719719
720720
Returns:
721-
list: List of sampling feature objects along with their associated datasets
721+
list: List of DataSetsResults Objects associated with the given sampling feature
722722
723723
Examples:
724724
>>> READ = ReadODM2(SESSION_FACTORY)
@@ -745,7 +745,7 @@ def getSamplingFeatureDatasets(self, ids=None, codes=None, uuids=None, type=None
745745
sf_query = sf_query.filter(SamplingFeatures.SamplingFeatureUUID.in_(uuids))
746746
sf_list = sf_query.all()
747747

748-
# , DataSetsResults)\
748+
749749
q = self._session.query(DataSetsResults)\
750750
.join(Results)\
751751
.join(FeatureActions)\

0 commit comments

Comments
 (0)