Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(udm-rest-api): fix 73_udm-rest/01_openapi_validation
It was caused by the new [4.6 version of typing-extensions](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-460-may-22-2023) used by jsonschema-spec to validate protocol. > isinstance() checks against runtime-checkable protocols now use inspect.getattr_static() rather than hasattr() to lookup whether attributes exist (backporting python/cpython#103034). This means that descriptors and getattr methods are no longer unexpectedly evaluated during isinstance() checks against runtime-checkable protocols. However, it may also mean that some objects which used to be considered instances of a runtime-checkable protocol on older versions of typing_extensions may no longer be considered instances of that protocol using the new release, and vice versa. Most users are unlikely to be affected by this change. Patch by Alex Waygood. Temporary workaround will be downgrading typing-extensions to version below 4.6: pip install "typing-extensions<4.6" Bug #50048
- Loading branch information