Reformat with Black for 2025 ruleset (#2349)
This commit is contained in:
parent
514811701f
commit
b0aebb599a
@ -1,4 +1,4 @@
|
||||
""" auth functions for login """
|
||||
"""auth functions for login"""
|
||||
|
||||
import os
|
||||
from uuid import UUID, uuid4
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" base crawl type """
|
||||
"""base crawl type"""
|
||||
|
||||
from datetime import datetime, timedelta
|
||||
from typing import Optional, List, Union, Dict, Any, Type, TYPE_CHECKING, cast, Tuple
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" shared crawl manager implementation """
|
||||
"""shared crawl manager implementation"""
|
||||
|
||||
import os
|
||||
import secrets
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Crawl API """
|
||||
"""Crawl API"""
|
||||
|
||||
# pylint: disable=too-many-lines
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Basic Email Sending Support"""
|
||||
"""Basic Email Sending Support"""
|
||||
|
||||
from datetime import datetime
|
||||
import os
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Invite system management """
|
||||
"""Invite system management"""
|
||||
|
||||
from typing import Optional, Any
|
||||
import os
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" K8S API Access """
|
||||
"""K8S API Access"""
|
||||
|
||||
import os
|
||||
import traceback
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" entrypoint module for background jobs """
|
||||
"""entrypoint module for background jobs"""
|
||||
|
||||
import asyncio
|
||||
import os
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" entrypoint module for operator """
|
||||
"""entrypoint module for operator"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
@ -1,7 +1,7 @@
|
||||
"""
|
||||
Migration 0007 - Workflows changes
|
||||
|
||||
- Rename colls to autoAddCollections
|
||||
- Rename colls to autoAddCollections
|
||||
- Re-calculate workflow crawl stats to populate crawlSuccessfulCount
|
||||
"""
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" operators module """
|
||||
"""operators module"""
|
||||
|
||||
from .profiles import ProfileOperator
|
||||
from .bgjobs import BgJobOperator
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Base Operator class for all operators """
|
||||
"""Base Operator class for all operators"""
|
||||
|
||||
import asyncio
|
||||
import os
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Operator handler for BackgroundJobs """
|
||||
"""Operator handler for BackgroundJobs"""
|
||||
|
||||
from uuid import UUID
|
||||
import traceback
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" CrawlOperator """
|
||||
"""CrawlOperator"""
|
||||
|
||||
import traceback
|
||||
import os
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Operator handler for crawl CronJobs """
|
||||
"""Operator handler for crawl CronJobs"""
|
||||
|
||||
from uuid import UUID
|
||||
from typing import Optional
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Operator Models """
|
||||
"""Operator Models"""
|
||||
|
||||
from collections import defaultdict
|
||||
from uuid import UUID
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Operator handler for ProfileJobs """
|
||||
"""Operator handler for ProfileJobs"""
|
||||
|
||||
from btrixcloud.utils import str_to_date, dt_now
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" shared helper to initialize ops classes """
|
||||
"""shared helper to initialize ops classes"""
|
||||
|
||||
from typing import Tuple
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" Profile Management """
|
||||
"""Profile Management"""
|
||||
|
||||
from typing import Optional, TYPE_CHECKING, Any, cast, Dict, List, Tuple
|
||||
from uuid import UUID, uuid4
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" handle user uploads into browsertrix """
|
||||
"""handle user uploads into browsertrix"""
|
||||
|
||||
import uuid
|
||||
from urllib.parse import unquote
|
||||
|
@ -1,4 +1,4 @@
|
||||
""" k8s utils """
|
||||
"""k8s utils"""
|
||||
|
||||
import asyncio
|
||||
import atexit
|
||||
|
@ -1,3 +1,3 @@
|
||||
""" current version """
|
||||
"""current version"""
|
||||
|
||||
__version__ = "1.14.0-beta.0"
|
||||
|
Loading…
Reference in New Issue
Block a user