I have problems with updating README.md using devtool.py
python ./devtools/devtool.py --repo=. render output:
Traceback (most recent call last): File "./devtools/devtool.py", line 4, in <module> import devtool File "/home/dev/esp/esp-idf-lib/devtools/devtool/__init__.py", line 1, in <module> from .metadata import * File "/home/dev/esp/esp-idf-lib/devtools/devtool/metadata.py", line 58, in <module> class Person(pydantic.BaseModel): File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_model_construction.py", line 177, in __new__ set_model_fields(cls, bases, config_wrapper, types_namespace) File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_model_construction.py", line 405, in set_model_fields fields, class_vars = collect_model_fields(cls, bases, config_wrapper, types_namespace, typevars_map=typevars_map) File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_fields.py", line 98, in collect_model_fields type_hints = get_cls_type_hints_lenient(cls, types_namespace) File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_typing_extra.py", line 212, in get_cls_type_hints_lenient hints[name] = eval_type_lenient(value, globalns, localns) File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_typing_extra.py", line 224, in eval_type_lenient return typing._eval_type(value, globalns, localns) # type: ignore File "/usr/lib/python3.8/typing.py", line 270, in _eval_type return t._evaluate(globalns, localns) File "/usr/lib/python3.8/typing.py", line 518, in _evaluate eval(self.__forward_code__, globalns, localns), File "<string>", line 1, in <module> TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
My L3Gx gyroscope sensor driver implementation
Feature requested by issue https://github.com/UncleRus/esp-idf-lib/issues/568
NOTE:
I have problems with updating README.md using devtool.py
python ./devtools/devtool.py --repo=. render
output:Traceback (most recent call last): File "./devtools/devtool.py", line 4, in <module> import devtool File "/home/dev/esp/esp-idf-lib/devtools/devtool/__init__.py", line 1, in <module> from .metadata import * File "/home/dev/esp/esp-idf-lib/devtools/devtool/metadata.py", line 58, in <module> class Person(pydantic.BaseModel): File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_model_construction.py", line 177, in __new__ set_model_fields(cls, bases, config_wrapper, types_namespace) File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_model_construction.py", line 405, in set_model_fields fields, class_vars = collect_model_fields(cls, bases, config_wrapper, types_namespace, typevars_map=typevars_map) File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_fields.py", line 98, in collect_model_fields type_hints = get_cls_type_hints_lenient(cls, types_namespace) File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_typing_extra.py", line 212, in get_cls_type_hints_lenient hints[name] = eval_type_lenient(value, globalns, localns) File "/home/dev/.local/lib/python3.8/site-packages/pydantic/_internal/_typing_extra.py", line 224, in eval_type_lenient return typing._eval_type(value, globalns, localns) # type: ignore File "/usr/lib/python3.8/typing.py", line 270, in _eval_type return t._evaluate(globalns, localns) File "/usr/lib/python3.8/typing.py", line 518, in _evaluate eval(self.__forward_code__, globalns, localns), File "<string>", line 1, in <module> TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'