larksuite / larksuite/oapi-sdk-python

私有化飞书需要添加代理 proxy

Open
#82 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
559
Forks
102
PR merge metrics
No merged PRs in 30d

Description

需要在发送消息的地方能够添加代理地址,这样才能在私有化部署的飞书中使用机器人。

需要改的地方:
https://github.com/larksuite/oapi-sdk-python/blob/70ae4129c221d451eb8b0f6ed234d1297179863d/lark_oapi/core/http/transport.py#L30

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 with lark_oapi/core/http/transport.py around line 30, where message requests are sent. Trace how transport options are configured and determine how a proxy address should be supplied for private Feishu deployments. Done means callers can provide a proxy and message sending works through it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.