Skip to content

Macro Rendering Error

File: api_time_varying.md

AttributeError: 'MethodList' object has no attribute 'keys'

Traceback (most recent call last):
  File "/home/runner/.cache/pypoetry/virtualenvs/jwave-gL0cM221-py3.10/lib/python3.10/site-packages/mkdocs_macros/plugin.py", line 644, in render
    return md_template.render(**page_variables)
  File "/home/runner/.cache/pypoetry/virtualenvs/jwave-gL0cM221-py3.10/lib/python3.10/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "/home/runner/.cache/pypoetry/virtualenvs/jwave-gL0cM221-py3.10/lib/python3.10/site-packages/jinja2/environment.py", line 939, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 13, in top-level template code
  File "/home/runner/.cache/pypoetry/virtualenvs/jwave-gL0cM221-py3.10/lib/python3.10/site-packages/plumkdocs/main.py", line 282, in implementations
    return mod_to_string(module, function)
  File "/home/runner/.cache/pypoetry/virtualenvs/jwave-gL0cM221-py3.10/lib/python3.10/site-packages/plumkdocs/main.py", line 253, in mod_to_string
    implementations = list(map(_extract_implementations, operators))
  File "/home/runner/.cache/pypoetry/virtualenvs/jwave-gL0cM221-py3.10/lib/python3.10/site-packages/plumkdocs/main.py", line 207, in _extract_implementations
    for signature, method in zip(function.methods.keys(), function.methods.values()):
AttributeError: 'MethodList' object has no attribute 'keys'