mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-06 05:24:19 -04:00
import psycopg only in class VideoDataClient
This commit is contained in:
parent
923ae1f2a2
commit
59f7830711
1 changed files with 3 additions and 2 deletions
|
@ -28,11 +28,9 @@ 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
|
||||
|
@ -76,6 +74,9 @@ 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