<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getDescendantsUIDs(self, all_descendants=False):
 """Returns the UIDs of the descendant Analysis Requests This method is used as metadata """

        descendants = self.getDescendants(all_descendants=all_descendants)
        return map(api.get_uid, descendants)