Save final orders as order_name instead of order_id
@kevinlacaille đang làm issue này rồi.
Từ ngày 31/7/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Current Problem
As a customer, I give each tasking order a unique name which is how I identify these orders in my organisation. For example, 1406_XY_XZ_LST, but when I download these fulfilled orders, the final folder name (or zipped file) is saved as order-id, which is good for Planet's systems, but not for me as a final user. This increases my workload, and the names of these folders are meaningless to my workflow.
My current workaround for this is reading the names of these folders (order-ids) one by one, make a GET request to https://developers.planet.com/apis/orders/reference/#tag/Orders/operation/getOrder, retrieve the order name from the response, and rename the folder. This is a cumbersome four-step process.
Proposed Solution
In this line https://github.com/planetlabs/planet-client-python/blob/74e8b77af6c9c33b7a8dc85f57eacfe226eb6b63/planet/clients/orders.py#L233 we, have an option of filename. This should be the order_name. Additionally, in this line https://github.com/planetlabs/planet-client-python/blob/74e8b77af6c9c33b7a8dc85f57eacfe226eb6b63/planet/clients/orders.py#L264 we do have the option of giving an argument to the function, which is 'order_id' currently. If this changes to 'order_name', it will be better, because 'order_id' argument is read by this line https://github.com/planetlabs/planet-client-python/blob/74e8b77af6c9c33b7a8dc85f57eacfe226eb6b63/planet/clients/orders.py#L257 which saves the folder ultimately.
Describe alternatives you've considered
Additional context
One of my customers complained that they can't use SDK because the final orders are saved in a folder/zipfile as order_ids, and they can't manually read each ID, copy it, search for it in Explorer, by opening each order one by one and comparing. Thus I created a script that could automate for them, but this creates additional load on Planet's servers, thus increasing cost. If we have SDK in-built solution, it will be good for the customer.
- Ngôn ngữ chính
- Python
- Star
- 300
- Fork
- 99
- Merge trung bình
- 9 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của planetlabs/planet-client-python
-
better-testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
planetlabs/planet-client-python#1110 ·
-
FeaturesClient list_items does not support filteringCó thể đã có người làm @steps-re đã nhận 95 ngày trước. Đang mởproposal
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
planetlabs/planet-client-python#1221 ·
-
FeaturesClient does not implement Update FeatureCó thể đã có người làm @tbarsballe đã nhận 124 ngày trước. Đang mởproposal
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
planetlabs/planet-client-python#1214 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
planetlabs/planet-client-python#1197 · 1 bình luận · 1 reaction ·
-
Quota APICó thể làm lại được @asonnenschein đã nhận 423 ngày trước và không có pull request nào đang mở. Đang mởai-claude
planetlabs/planet-client-python#1191 · 1 bình luận · 1 người được giao ·
Tất cả issue của planetlabs/planet-client-python
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
topoteretes/cognee#5647 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Sendspin/sendspin-python-cli#291 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
Assertion-shape guard fails on development: vacuous recorded-iteration assertion in the assetLinks batch_get helper testCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
awslabs/visual-asset-management-system#414 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug v1 v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
modelcontextprotocol/python-sdk#3670 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
aicell-lab/bioengine#232 ·
Maintainer thường phản hồi trong vòng 1 ngày