GIScience / GIScience/openrouteservice-py
missing keyword 'delivery' in optimization.Job
- Dominant language
- Python
- Stars
- 455
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
In the optimisation module, the class [Job](https://github.com/GIScience/openrouteservice-py/blob/9fc22f378db8f9ef98a1675031055b1ae2bec97b/openrouteservice/optimization.py#L104) doesn't accept the keyword argument `delivery`.
However in the online `POST` [example](https://openrouteservice.org/dev/#/api-docs/optimization/post), the keyword `delivery` is passed for each **job**:

Is there something in the background transforming the **jobs** of the `POST` example into **jobs** and **shipments**? How can I reproduce the `POST` example using Python?
Many thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with openrouteservice/optimization.py at the Job class around line 104, then compare its accepted arguments with the linked online optimization POST example. Determine how the example's delivery field is represented in the Python client and verify whether the example can be reproduced; the issue does not mention a test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100