(self, **kwargs)
| 20 | """Concrete implementation of BaseAPI for testing.""" |
| 21 | |
| 22 | def __init__(self, **kwargs): |
| 23 | from datastudio.models.base import BaseAPI |
| 24 | |
| 25 | # Create a concrete subclass that implements generate_inner |
| 26 | class TestableAPI(BaseAPI): |
| 27 | def generate_inner(self, inputs, **kwargs): |
| 28 | return 0, "test response", None |
| 29 | |
| 30 | self._api = TestableAPI(**kwargs) |
| 31 | |
| 32 | def __getattr__(self, name): |
| 33 | return getattr(self._api, name) |