We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f9a7d5 + 75ae85d commit 9c38c20Copy full SHA for 9c38c20
.travis.yml
docs/sphinxext/autodoc_traits.py
@@ -7,8 +7,14 @@
7
8
9
def dict_info(trait):
10
- trait_base = trait._trait
11
- traits = trait._traits
+ try:
+ trait_base = trait._value_trait
12
+ except AttributeError:
13
+ trait_base = trait._trait
14
15
+ traits = trait._per_key_traits
16
17
+ traits = trait._traits
18
19
if traits is None and (trait_base is None or isinstance(trait_base, Any)):
20
value_string = 'elements of any type'
0 commit comments