def METHOD_NAME(org_pid):
    """Return random vendor for an organisation pid."""
    org = Organisation.get_record_by_pid(org_pid)
    if vendors := [vendor.pid for vendor in org.get_vendors()]:
        return next(iter(random.choices(vendors) or []), None)