cielong / pyfx Goto Github PK
View Code? Open in Web Editor NEWA python-native JSON Viewer TUI.
License: MIT License
A python-native JSON Viewer TUI.
License: MIT License
Describe the bug
Running PyFX with the latest overrides
version (which is 6.1.0 currently) throws an error:
TypeError: `ArrayNode.prev_child: key overriding must be a supertype of `<class 'inspect._empty'>` but is `<class 'str'>`
The reason is that ArrayNode
's prev_child
method overrides the parent class' prev_child
method, which have a different type hint, and overrides
now check the type hints starting from some version later than 4.1.2.
To Reproduce
overrides
package as dependency.Expected behavior
It should not throw an error.
Additional context
Downgrading overrides
to 4.1.2 solves the problem. Did not test other versions.
Hi! This library is lovely, and I'd like to use it in my ptpython alternative (called "rp").
Could we add a help menu that appears when you press "?" and shows all keybindings?
Thank you,
Ryan
Could we add support for non-json objects? An example of a working implementation can be found in the python debugger tui called "pudb", in their variable explorer.
My use case is exploring the contents of pytorch checkpoints (.pth files), which when loaded are nested OrderedDicts (which are not dicts) and also contain torch tensors (a lot like numpy arrays, which are much like lists). Is there a way to add support for custom datatypes like these in my application?
Thank you,
Ryan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.