Would you consider adding syntax format to the tutorial?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 65/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Đọc hướng dẫn tại https://jmespath.org/tutorial.html và so sánh các mục của hướng dẫn với những phần tóm tắt cú pháp được đề xuất trong issue. Kiểm tra mã nguồn hướng dẫn hiện có và quy trình tài liệu trong repository để tìm nơi duy trì các mục đó. Công việc hoàn tất khi hướng dẫn giải thích rõ các ranh giới cú pháp và phép chiếu liên quan, với các ví dụ phù hợp với cú pháp JMESPath.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
https://jmespath.org/tutorial.html
I think it would be good to add syntax summaries to each section, something looking like below. I'm new so this example may not be correct. It need not be long, but the issue I have right now was, although I can eventually find out exactly what the syntax is when I've seen enough examples, a language tutorial surely oughta mention exactly what the syntax is. When the syntax is distinct for each operation it's easy to tell but a lot of the syntax uses [] and it was't immediately obvious where the operator was exactly. Maybe I'm just not prerequisitely familiar or that my learning style does not suit the interactive examples.
It may also be good to show exactly where the LHS ends and RHS begins for projections, like LHS 'obj.*' RHS '.exp', though only the obj looks a little ambiguous. Sorry if I seem harsh or ungrateful, it must be a lot of work maintaining projects.
key, select key
key.key.key.key, select key
list_element, select list element
list[], flatten list/remove list of each element
list[*], select any/wildcard
list[*].exp, list projection
list[n:n:n].exp, slice list projection
list[].exp, flatten list projection
obj.*.exp, object to list projection
list[?key=='value'].exp, filter list projection
list[?@=='value'].exp, filter list projection
list[*].exp | [n], pipe expression on any projection type
obj.*.exp | [n], pipe expression on any projection type
list[*].exp | function(@), pipe expression on any projection type
list[].[exp, exp], mutiselect list on any projection type
list[].{key:value, key:value}, mutiselect list dictionary on any projection type
- Ngôn ngữ chính
- Python
- Star
- 2.5k
- Fork
- 231
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 jmespath/jmespath.py
-
floor() and ceil() raise OverflowError / ValueError on Infinity and NaNCó thể đã có người làm @guocn đã nhận 48 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jmespath/jmespath.py#381 ·
-
Lexer gives quoted identifiers an `end` that is the token length, not its end offsetCó thể đã có người làm @chiliec đã nhận 50 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
jmespath/jmespath.py#380 ·
-
sdist is missing `tests/__init__.py`Có thể đã có người làm @deepakganesh78 đã nhận 127 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 38/100
jmespath/jmespath.py#341 · 1 bình luận ·
-
Different behavior on merge function between the JS lib and the Python libCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
jmespath/jmespath.py#329 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
jmespath/jmespath.py#328 · 1 bình luận · 1 reaction ·
Tất cả issue của jmespath/jmespath.py
Issue tương tự
-
test_real_pandoc_failure_is_one_path_free_line fails on macOS CI with current Homebrew pandocĐang mởbug TAG: unit tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
learningequality/ricecooker#898 ·
-
task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
freelawproject/litigant-portal#1285 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
least_squares returns a nonfinite objective for an invalid initial residualCó thể đã có người làm @sylvesterkaczmarek đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
google-deepmind/mujoco#4023 ·
Maintainer thường phản hồi trong vòng 11 ngày
-
Five Australian birds: Red-capped Parrot, Red-winged Fairywren, Gilbert’s Honeyeater, Western Spinebill, Western WattlebirdCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
arnegiacomo/fugleramme#427 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
MONDO's zebu and cat Arnold-Chiari terms are is_a a dog disease (monarch-initiative/mondo#10939)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NCATSTranslator/Babel#1317 ·
Maintainer thường phản hồi trong vòng 2 ngày