Retrieve shots or assets of a project

projectKey=123456
project=aq.project(123456).get()
shots=project.get_shots()

Advanced query

meshql = "# -($Child, 2)> $Shot"
shots = project.traverse(meshql=meshql)

Depending on the structure of your project, you might need to adapt the query to your needs