from abc import ABC, abstractmethod
import typing
from checks.lib.result import Result


class Job(ABC):
    """Represents a job to be executed by a Worker
    """

    @abstractmethod
    async def run(self, obj: typing.Any) ->Result:
        """
        Runs the logic using a single object as input

        Args:
          obj: any object

        Returns:
          A Result object
        """
        pass

fb69efc64136b61f68c32fa087ee2605c1021f6b
<mask token>

<mask token>


class Job(ABC):
    <mask token>

    @abstractmethod
    async def run(self, obj: typing.Any) ->Result:
        """
        Runs the logic using a single object as input

        Args:
          obj: any object

        Returns:
          A Result object
        """
        pass

<mask token>


class Job(ABC):
    """Represents a job to be executed by a Worker
    """

    @abstractmethod
    async def run(self, obj: typing.Any) ->Result:
        """
        Runs the logic using a single object as input

        Args:
          obj: any object

        Returns:
          A Result object
        """
        pass

from abc import ABC, abstractmethod
import typing
from checks.lib.result import Result


class Job(ABC):
    """Represents a job to be executed by a Worker
    """

    @abstractmethod
    async def run(self, obj: typing.Any) ->Result:
        """
        Runs the logic using a single object as input

        Args:
          obj: any object

        Returns:
          A Result object
        """
        pass
