Skip to content

Commit 0f640a3

Browse files
committed
Improve documentation
1 parent e3f8428 commit 0f640a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pipedream/proxy/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get(
7575
url="https://example.com/api/endpoint",
7676
external_user_id="external_user_id",
7777
account_id="account_id",
78-
headers={"Authorization": "Bearer token"},
78+
headers={"Extra-Downstream-Header": "some value"}
7979
params={"limit": 10},
8080
)
8181
"""
@@ -292,7 +292,7 @@ def delete(
292292
url="https://example.com/api/endpoint",
293293
external_user_id="external_user_id",
294294
account_id="account_id",
295-
headers={"Authorization": "Bearer token"},
295+
headers={"Extra-Downstream-Header": "some value"}
296296
)
297297
"""
298298
url_64 = base64.urlsafe_b64encode(url.encode()).decode()
@@ -456,7 +456,7 @@ async def main() -> None:
456456
url="https://example.com/api/endpoint",
457457
external_user_id="external_user_id",
458458
account_id="account_id",
459-
headers={"Authorization": "Bearer token"},
459+
headers={"Extra-Downstream-Header": "some value"}
460460
params={"limit": 10},
461461
)
462462
@@ -696,7 +696,7 @@ async def main() -> None:
696696
url="https://example.com/api/endpoint",
697697
external_user_id="external_user_id",
698698
account_id="account_id",
699-
headers={"Authorization": "Bearer token"},
699+
headers={"Extra-Downstream-Header": "some value"}
700700
)
701701
702702

0 commit comments

Comments
 (0)