Skip to content
Snippets Groups Projects
Commit 58a3306f authored by Mathieu Beligon's avatar Mathieu Beligon
Browse files

[common] (frame generators) fix: use Iterable instead of Generator for typing

parent 62672902
No related branches found
No related tags found
No related merge requests found
from abc import ABC, abstractmethod
from typing import Generator
from typing import Iterable
from polystar.common.models.image import Image
class FrameGeneratorABC(ABC):
@abstractmethod
def generate(self) -> Generator[Image]:
def generate(self) -> Iterable[Image]:
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment