I have been trying to implement as many functions as possible that return CourseInfo, but one method in particular seems like a good candidate for more specific searches. search_objects looks promising, but it returns a list of DataStoreMetaInfo which don't have any associated types. I'm wondering if I can change data_type in DataStoreSearchParam to some constant that maps to levels and then convert the resulting meta_binary in DataStoreMetaInfo to CourseInfo and if not whether a similar method can be put to use to get very particular searches.
I have been trying to implement as many functions as possible that return
CourseInfo
, but one method in particular seems like a good candidate for more specific searches.search_objects
looks promising, but it returns a list ofDataStoreMetaInfo
which don't have any associated types. I'm wondering if I can changedata_type
inDataStoreSearchParam
to some constant that maps to levels and then convert the resultingmeta_binary
inDataStoreMetaInfo
toCourseInfo
and if not whether a similar method can be put to use to get very particular searches.