##// END OF EJS Templates
Statically type OInfo....
Statically type OInfo. In view of working with #13860, some cleanup inspect to be properly typed, and using stricter datastructure. Instead of dict we now use dataclasses, this will make sure that fields type and access can be stricter and verified not only at runtime, but by mypy

File last commit:

r23033:5dd70876
r28165:0fef298a
Show More
traitlets.py
6 lines | 143 B | text/x-python | PythonLexer
Min RK
absolute import for traitlets shim...
r21002
Min RK
add shim warnings for traitlets
r21145 from warnings import warn
Srinivas Reddy Thatiparthy
Add stacklevel=2 to warn function
r23033 warn("IPython.utils.traitlets has moved to a top-level traitlets package.", stacklevel=2)
Min RK
add shim warnings for traitlets
r21145
Min RK
absolute import for traitlets shim...
r21002 from traitlets import *