nearly there…

This commit is contained in:
Sebastian Thiel
2021-01-05 23:39:04 +08:00
parent 043f3752e6
commit 80dadc5a80
3 changed files with 3 additions and 4 deletions

View File

@@ -70,9 +70,6 @@ class DictObject(object):
def __repr__(self):
return repr(self.__dict__)
def __getattr__(self, name):
return object.__getattribute__(self, name)
def __getitem__(self, name):
try:
return getattr(self, name)

View File

@@ -143,7 +143,8 @@ You may set the following properties to further configure the call. Please note
or more key-value-pairs, and is called like this `-${PARAM_FLAG} k1=v1 k2=v2` even though the listing below repeats the
`-${PARAM_FLAG}` for completeness.
% for p in sorted(oprops):
## % for p in sorted(oprops): FIXME(this really should be sorted, I suppose, but that doesn't work anymore)
% for p in oprops:
${self._md_property(p)}
% endfor
% endif # optional method properties

View File

@@ -746,6 +746,7 @@ def new_context(schemas, resources, methods):
# end this is already a perfectly valid type
properties = s.get('properties', {'': s})
print(properties)
for pn, p in properties.items():
link_used(p, rs)
if is_nested_type_property(p):