Use a backport of the python 3.8 typing.get_args and typing.get_origin APIs to clarify our type introspection. Adds tests to clarify current behavior.
Details
Details
Diff Detail
Diff Detail
- Repository
- R1 dagster
- Branch
- typing-compat
- Lint
Lint Passed - Unit
No Test Coverage
Event Timeline
python_modules/dagster/dagster/seven/typing.py | ||
---|---|---|
2 | nit: its a little odd to me to route this through seven if seven is not doing the compat work |
python_modules/dagster/dagster/seven/typing.py | ||
---|---|---|
2 | i just want it in one place in case we want to change things -- the compat library is good but there are still nits and there are likely to be more in future |