Ahoi!
I can see that service on vroom.Job was split into default_service and service_per_type. While addressing the breaking change, I first did not notice default_service at first. So, I tried getting service_per_type working, which appears to be connected to the type on the vroom.Vehicle. However, no such type appears to be exposed (though, it's documented in the API docs - admittedly not the Python API docs).
E.g., this fails:
import vroom
stop = vroom.Job(
id=0,
location=0,
service_per_type={"truck": 10},
)
vehicle = vroom.Vehicle(
id=0,
profile="truck",
type="truck",
)
However, I might just be missing something. I just wanted to flag it as potentially misleading. 😊
Ahoi!
I can see that
serviceonvroom.Jobwas split intodefault_serviceandservice_per_type. While addressing the breaking change, I first did not noticedefault_serviceat first. So, I tried gettingservice_per_typeworking, which appears to be connected to thetypeon thevroom.Vehicle. However, no such type appears to be exposed (though, it's documented in the API docs - admittedly not the Python API docs).E.g., this fails:
However, I might just be missing something. I just wanted to flag it as potentially misleading. 😊