fix: 포트 충돌 회피 — note_bridge 8098, intent_service 8099
Jellyfin(8096), OrbStack(8097) 포트 충돌으로 변경. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
19
.venv/lib/python3.9/site-packages/caldav/requests.py
Normal file
19
.venv/lib/python3.9/site-packages/caldav/requests.py
Normal file
@@ -0,0 +1,19 @@
|
||||
try:
|
||||
from niquests.auth import AuthBase
|
||||
except ImportError:
|
||||
from requests.auth import AuthBase
|
||||
|
||||
|
||||
class HTTPBearerAuth(AuthBase):
|
||||
def __init__(self, password: str) -> None:
|
||||
self.password = password
|
||||
|
||||
def __eq__(self, other: object) -> bool:
|
||||
return self.password == getattr(other, "password", None)
|
||||
|
||||
def __ne__(self, other: object) -> bool:
|
||||
return not self == other
|
||||
|
||||
def __call__(self, r):
|
||||
r.headers["Authorization"] = f"Bearer {self.password}"
|
||||
return r
|
||||
Reference in New Issue
Block a user