Comments (1)
Seems like get_origin
was only introduced in python 3.8. So it won't work with earlier python versions.
from datargs.
Related Issues (20)
- `attrs` based classes fail with `nargs` option. HOT 2
- Static/dynamic type consistency for optional parameters, nargs? HOT 4
- Unable to pass `action` in field.metadata HOT 1
- Optional typing with Enum class HOT 1
- datargs doesn't seem to support `from __future__ import annotations` HOT 4
- Optional sequences don't seem to be supported HOT 1
- Slight error in comparison to simple-parsing HOT 1
- PyPI release? HOT 1
- Show default value support HOT 2
- nargs is not support *, which argparse support HOT 1
- The default type is not same as the return type HOT 1
- Support add_argument type parameter HOT 1
- Union operator (`|`) introduced in python 3.10 is not supported.
- pylance (pyrigth) reporting error of returned type of `arg` function
- [Feature request] make `aliases` parameters overwrite the default field name in the command line HOT 2
- [Feature request] make `aliases` in `arg()` behaves same as in the original `add_argument()` method HOT 2
- [Feature request] Support mutually exclusive parameters HOT 8
- Union operator (`|`) incompatible with __future__.annotations HOT 2
- Boolean argument handling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datargs.