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:
33
.venv/lib/python3.9/site-packages/caldav/__init__.py
Normal file
33
.venv/lib/python3.9/site-packages/caldav/__init__.py
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env python
|
||||
import logging
|
||||
|
||||
try:
|
||||
from ._version import __version__
|
||||
except ModuleNotFoundError:
|
||||
__version__ = "(unknown)"
|
||||
import warnings
|
||||
|
||||
warnings.warn(
|
||||
"You need to install the `build` package and do a `python -m build` to get caldav.__version__ set correctly"
|
||||
)
|
||||
from .davclient import DAVClient
|
||||
from .davclient import get_davclient
|
||||
from .search import CalDAVSearcher
|
||||
|
||||
## TODO: this should go away in some future version of the library.
|
||||
from .objects import *
|
||||
|
||||
## We should consider if the NullHandler-logic below is needed or not, and
|
||||
## if there are better alternatives?
|
||||
# Silence notification of no default logging handler
|
||||
log = logging.getLogger("caldav")
|
||||
|
||||
|
||||
class NullHandler(logging.Handler):
|
||||
def emit(self, record) -> None:
|
||||
pass
|
||||
|
||||
|
||||
log.addHandler(NullHandler())
|
||||
|
||||
__all__ = ["__version__", "DAVClient", "get_davclient"]
|
||||
Reference in New Issue
Block a user