AttributeError: module 'typing_extensions' has no attribute 'Union'
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Reproduce the upgrade from Typesense 0.21.0 to 1.0.3 with Python 3.10 and typing_extensions 4.13.1, using the reported AttributeError as the starting point. Inspect the client’s typing imports and dependency handling; done means the client imports and operates without this error after the upgrade.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, I got an error when upgrading Typesense from version 0.21.0 to 1.0.3
_SequenceTypes = typing.Union[\nAttributeError: module 'typing_extensions' has no attribute 'Union'\n", "path": "/webapps/project/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", "syspath": ["/tmp/ansible_community.general.django_manage_payload_2wkzk7x5/ansible_community.general.django_manage_payload.zip", "/usr/lib/python310.zip", "/usr/lib/python3.10", "/usr/lib/python3.10/lib-dynload", "/usr/local/lib/python3.10/dist-packages", "/usr/lib/python3/dist-packages"]}
Python version: 3.10
Typing_extension: 4.13.1
Hopefully there is a solution or a correction version to solve it. Many Thanks!
- Ngôn ngữ chính
- Python
- Star
- 247
- Fork
- 66
- Merge trung bình
- 22 giờ 47 phút
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của typesense/typesense-python
-
`MultiSearchResponse` type does not account for union search response shapeCó thể đã có người làm @tharropoulos đã nhận 172 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
typesense/typesense-python#128 ·
-
`documents.Documents.import_()` `batch_size` argument is ignored, type of `import_parameters` is missing `batch_size`Có thể đã có người làm @tharropoulos đã nhận 245 ngày trước. Đang mở
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 68/100
typesense/typesense-python#124 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
typesense/typesense-python#100 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
typesense/typesense-python#122 · 3 bình luận ·
-
[Bug] - DeprecationWarning on instantiation of ClientCó thể đã có người làm @tharropoulos đã nhận 266 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
typesense/typesense-python#114 · 8 bình luận ·
Tất cả issue của typesense/typesense-python
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
WLAN-Pi/wlanpi-profiler#341 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Memory leak: the shared `validation_aborted_error` keeps every traceback it is raised throughCó thể đã có người làm @Fire162 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
graphql-python/graphql-core#287 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
roman-corgi/ctc-dip#160 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
render_findings.py reads and writes in the host's default encoding, so findings.html breaks on a cp1252 Windows hostCó thể đã có người làm @Aaqibhafeezkhan đã nhận hôm nay. Đang mởbug good first issue mentored python size: XS up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
dheerajjha/mcp-migrate#366 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày