Skip to content

Commit

Permalink
fix circular reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ritch committed Oct 21, 2024
1 parent 41db91a commit 7f15101
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions fiftyone/operators/store/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@

import logging
from typing import Optional, List
from fiftyone.factory.repo_factory import RepositoryFactory
from fiftyone.operators.store.models import StoreDocument, KeyDocument
from fiftyone.factory.repos.execution_store import ExecutionStoreRepo

logger = logging.getLogger(__name__)


class ExecutionStoreService:
"""Service for managing execution store operations."""

def __init__(self, repo: Optional[ExecutionStoreRepo] = None):
def __init__(self, repo: Optional["ExecutionStoreRepo"] = None):
from fiftyone.factory.repo_factory import (
RepositoryFactory,
ExecutionStoreRepo,
)

if repo is None:
repo = RepositoryFactory.execution_store_repo()

Expand Down

0 comments on commit 7f15101

Please sign in to comment.