feat: deploy infrastructure + disk/drive, calendar, presentation, workspaces, onboarding, demo user
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
"""Apple CalDAV stub implementation.
|
||||
|
||||
When credentials are empty, logs the operation and returns True.
|
||||
Real CalDAV implementation deferred.
|
||||
"""
|
||||
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AppleCalDavStub:
|
||||
"""Apple Calendar via CalDAV (stub — logs only)."""
|
||||
|
||||
async def create_event(
|
||||
self,
|
||||
summary: str,
|
||||
description: str,
|
||||
start_iso: str,
|
||||
end_iso: str,
|
||||
**kwargs,
|
||||
) -> bool:
|
||||
logger.info(
|
||||
"Apple CalDAV stub: create_event called — "
|
||||
"summary=%s, start=%s, end=%s",
|
||||
summary, start_iso, end_iso,
|
||||
)
|
||||
return True
|
||||
|
||||
async def list_events(self, max_results: int = 10) -> list[dict]:
|
||||
logger.info("Apple CalDAV stub: list_events called")
|
||||
return []
|
||||
|
||||
async def health_check(self) -> bool:
|
||||
return True
|
||||
Reference in New Issue
Block a user