googleapis / googleapis/google-cloud-python
testing/mock_spanner: failure with TypeError: unsupported operand type(s) for |: 'MessageMeta' and 'MessageMeta'
- Lingua principale
- Python
- Stelle
- 5.4k
- Fork
- 1.8k
- Merge medio
- 3g 4h
- PR unite (30g)
- 122
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.