nacos-group / nacos-group/nacos-sdk-python

长轮询时候的参数丢失

Open
#44 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
471
Forks
155
PR merge metrics
No merged PRs in 30d

Description

https://github.com/nacos-group/nacos-sdk-python/blob/cc9adaefb653eb0026ef14f92f6134ecdaa5b39f/nacos/client.py#L708

这里长轮询params丢了,部分参数比如tenant不传会导致权限问题

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in client.py around line 708 and inspect how parameters are assembled for long polling. Verify that parameters such as tenant are preserved in the long-poll request, then confirm that the request no longer loses them and avoids the reported permission problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.