chore: sort imports

This commit is contained in:
Chris Coutinho
2025-08-01 12:21:32 +02:00
parent a9f3e1b00d
commit 8956945e9d
21 changed files with 76 additions and 56 deletions
+7 -12
View File
@@ -1,18 +1,13 @@
import os
from httpx import (
AsyncClient,
Auth,
BasicAuth,
Request,
Response,
)
import logging
import os
from httpx import AsyncClient, Auth, BasicAuth, Request, Response
from .notes import NotesClient
from .webdav import WebDAVClient
from .tables import TablesClient
from .calendar import CalendarClient
from ..controllers.notes_search import NotesSearchController
from .calendar import CalendarClient
from .notes import NotesClient
from .tables import TablesClient
from .webdav import WebDAVClient
logger = logging.getLogger(__name__)
+3 -2
View File
@@ -1,8 +1,9 @@
"""Base client for Nextcloud operations with shared authentication."""
from abc import ABC
from httpx import AsyncClient
import logging
from abc import ABC
from httpx import AsyncClient
logger = logging.getLogger(__name__)
+7 -4
View File
@@ -1,12 +1,15 @@
"""CalDAV client for NextCloud calendar operations."""
import xml.etree.ElementTree as ET
import datetime as dt
from typing import Dict, Any, List, Optional, Tuple
import logging
from httpx import HTTPStatusError
from icalendar import Calendar, Event as ICalEvent, vRecur, Alarm
import uuid
import xml.etree.ElementTree as ET
from typing import Any, Dict, List, Optional, Tuple
from httpx import HTTPStatusError
from icalendar import Alarm, Calendar
from icalendar import Event as ICalEvent
from icalendar import vRecur
from .base import BaseNextcloudClient
+1 -1
View File
@@ -1,7 +1,7 @@
"""Client for Nextcloud Notes app operations."""
from typing import Dict, List, Any, Optional
import logging
from typing import Any, Dict, List, Optional
from .base import BaseNextcloudClient
+1 -1
View File
@@ -1,7 +1,7 @@
"""Client for Nextcloud Tables app operations."""
from typing import Dict, List, Any, Optional
import logging
from typing import Any, Dict, List, Optional
from .base import BaseNextcloudClient
+4 -3
View File
@@ -1,10 +1,11 @@
"""WebDAV client for Nextcloud file operations."""
import mimetypes
from typing import Tuple, Dict, Any, Optional, List
import logging
from httpx import HTTPStatusError
import mimetypes
import xml.etree.ElementTree as ET
from typing import Any, Dict, List, Optional, Tuple
from httpx import HTTPStatusError
from .base import BaseNextcloudClient