googleapis / googleapis/google-cloud-python
testing/mock_spanner: failure with TypeError: unsupported operand type(s) for |: 'MessageMeta' and 'MessageMeta'
Đang mở
api: spanner
- Ngôn ngữ chính
- Python
- Star
- 5.4k
- Fork
- 1.8k
- Merge trung bình
- 3 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 122
Mô tả
After PR googleapis/python-spanner#1271 we get this error
```shell
tests/mockserver_tests/mock_server_test_base.py:19: in
from google.cloud.spanner_v1.testing.mock_spanner import (
google/cloud/spanner_v1/testing/mock_spanner.py:84: in
class SpannerServicer(spanner_grpc.SpannerServicer):
google/cloud/spanner_v1/testing/mock_spanner.py:190: in SpannerServicer
self, request: ExecuteSqlRequest | ExecuteBatchDmlRequest
E TypeError: unsupported operand type(s) for |: 'MessageMeta' and 'MessageMeta'
```
Perhaps the code was tested only for Python 3.10 and not Python 3.8?
Kindly cc-ing @olavloite
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.