HomeSoftware Heritage

get_origin_visit: Return first visit with non null snapshot by default

Description

get_origin_visit: Return first visit with non null snapshot by default

When no timestamp or visit id is provided to the get_origin_visit function,
return the first visit with a non null snapshot instead of the first full
visit. Indeed, a partial visit can have a valid snapshot and should be not
filtered out.