⇅ Bag Features
Macro Rendering Error¶
File: configuration/features/bag_features.md
AttributeError: get_class_schema
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/mkdocs_macros/plugin.py", line 703, in render
return md_template.render(**page_variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 15, in top-level template code
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/jinja2/runtime.py", line 784, in _invoke
rv = self._func(*arguments)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/ludwig-docs/ludwig-docs/docs/macros/includes.md", line 12, in template
{% for line in schema_class_to_yaml(schema, sort_by_impact=sort_by_impact, exclude=exclude, updates=updates).split("\n") %}
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/ludwig-docs/ludwig-docs/main.py", line 213, in schema_class_to_yaml
schema = cls.get_class_schema()()
^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/ludwig/schema/utils.py", line 288, in __getattr__
raise AttributeError(name)
AttributeError: get_class_schema