Files
bo-ptycho/bo/base.py
T
2026-08-12 14:50:05 +09:00

16 lines
300 B
Python

from abc import ABC, abstractmethod
class BOEngine(ABC):
def __init__(self, config):
self.config = config
self.state = None
@abstractmethod
def ask(self, n: int = 1) -> list[dict]:
pass
@abstractmethod
def tell(self, job_config, y_value):
pass