mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-10 16:22:38 +02:00
chore: ran backend linting
This commit is contained in:
parent
05d1d6ac04
commit
cf339ff350
13 changed files with 13 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_airtable_records(
|
async def index_airtable_records(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_bookstack_pages(
|
async def index_bookstack_pages(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_clickup_tasks(
|
async def index_clickup_tasks(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_confluence_pages(
|
async def index_confluence_pages(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_google_calendar_events(
|
async def index_google_calendar_events(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_google_gmail_messages(
|
async def index_google_gmail_messages(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds - update notification every 30 seconds
|
# Heartbeat interval in seconds - update notification every 30 seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_jira_issues(
|
async def index_jira_issues(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds - update notification every 30 seconds
|
# Heartbeat interval in seconds - update notification every 30 seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_linear_issues(
|
async def index_linear_issues(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_luma_events(
|
async def index_luma_events(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
def parse_frontmatter(content: str) -> tuple[dict | None, str]:
|
def parse_frontmatter(content: str) -> tuple[dict | None, str]:
|
||||||
"""
|
"""
|
||||||
Parse YAML frontmatter from markdown content.
|
Parse YAML frontmatter from markdown content.
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds - update notification every 30 seconds
|
# Heartbeat interval in seconds - update notification every 30 seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_slack_messages(
|
async def index_slack_messages(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds - update notification every 30 seconds
|
# Heartbeat interval in seconds - update notification every 30 seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_teams_messages(
|
async def index_teams_messages(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ HeartbeatCallbackType = Callable[[int], Awaitable[None]]
|
||||||
# Heartbeat interval in seconds
|
# Heartbeat interval in seconds
|
||||||
HEARTBEAT_INTERVAL_SECONDS = 30
|
HEARTBEAT_INTERVAL_SECONDS = 30
|
||||||
|
|
||||||
|
|
||||||
async def index_crawled_urls(
|
async def index_crawled_urls(
|
||||||
session: AsyncSession,
|
session: AsyncSession,
|
||||||
connector_id: int,
|
connector_id: int,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue