File size: 315 Bytes
1b7e88c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from abc import ABC, abstractmethod

from omagent_core.base import BotBase


class InputBase(BotBase, ABC):

    class Config:
        """Configuration for this pydantic object."""

        arbitrary_types_allowed = True
        extra = "allow"

    @abstractmethod
    def read_input(self, **kwargs):
        pass