jmespath / jmespath.py

JMESPath is a query language for JSON.
http://jmespath.org
MIT License
2.19k stars 181 forks source link

treat tuples as lists #180

Open Inilien opened 5 years ago

Inilien commented 5 years ago

I believe now any tuples in input data should be treated as lists.
use case described in the issue https://github.com/jmespath/jmespath.py/issues/179 now works as expected in the issue

codecov-io commented 5 years ago

Codecov Report

Merging #180 into develop will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #180   +/-   ##
========================================
  Coverage    98.19%   98.19%           
========================================
  Files           14       14           
  Lines         1441     1441           
========================================
  Hits          1415     1415           
  Misses          26       26
Impacted Files Coverage Δ
jmespath/visitor.py 99.05% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0d5762b...3e5d9ca. Read the comment docs.

jamesls commented 4 years ago

Looks good to me, we just need to get tests added and then I'll merge this. I'm happy to write these if no one has time.

zeitounator commented 3 years ago

Hi. Are there any plans to have this merged soon ?