mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-04 20:44:20 -04:00
import psycopg only at top of file
This commit is contained in:
parent
59f7830711
commit
e8dc41ca30
1 changed files with 2 additions and 3 deletions
|
@ -28,9 +28,11 @@ from dataclasses import dataclass
|
|||
from typing import Any, List, Optional
|
||||
|
||||
import doublethink
|
||||
import psycopg
|
||||
import structlog
|
||||
import urlcanon
|
||||
import yt_dlp
|
||||
from psycopg_pool import ConnectionPool, PoolTimeout
|
||||
from yt_dlp.utils import ExtractorError, match_filter_func
|
||||
|
||||
import brozzler
|
||||
|
@ -74,9 +76,6 @@ class VideoCaptureRecord:
|
|||
|
||||
|
||||
class VideoDataClient:
|
||||
import psycopg
|
||||
from psycopg_pool import ConnectionPool, PoolTimeout
|
||||
|
||||
VIDEO_DATA_SOURCE = os.getenv("VIDEO_DATA_SOURCE")
|
||||
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue