Open gqian3 opened 4 years ago
Are you sure you are using the latest code from the repo? There was a significant refactor and pyjolt/shiftr.py no longer has 428 lines.
Sure, could you possibly provide an example input and output for this schema also? You are welcome to provide it in a file format the same as the current unit tests, for example keyref test
You are welcome to provide me the error message when you try to use python3 setup.py install also and I will have a look into that.
Sorry accidentally closed this issue. I will also try to add the test file
For one valid jolt spec, "spec": { ... "@": "data2[&2].@(4,headers[&0])" } } } } } I am getting this error below: File "/usr/local/lib/python3.6/site-packages/pyjolt-0.0.1-py3.6.egg/pyjolt/shiftr.py", line 476, in shiftr File "/usr/local/lib/python3.6/site-packages/pyjolt-0.0.1-py3.6.egg/pyjolt/shiftr.py", line 436, in process_rhs File "/usr/local/lib/python3.6/site-packages/pyjolt-0.0.1-py3.6.egg/pyjolt/shiftr.py", line 428, in process_rhs_split File "/usr/lib64/python3.6/re.py", line 191, in sub return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or bytes-like object
Any ideas?