read coderepo .py files via rid

Hi all,

Curious if anyone has written a function that can take code repository rid as input and return all the .py file names in it?