kikocis/llama-stack public
| 1 | # Copyright (c) Meta Platforms, Inc. and affiliates. |
| 2 | # All rights reserved. |
| 3 | # |
| 4 | # This source code is licensed under the terms described in the LICENSE file in |
| 5 | # the root directory of this source tree. |
| 6 | |
| 7 | from typing import Any |
| 8 | |
| 9 | from .config import SampleConfig |
| 10 | |
| 11 | |
| 12 | async def get_adapter_impl(config: SampleConfig, _deps) -> Any: |
| 13 | from .sample import SampleTelemetryImpl |
| 14 | |
| 15 | impl = SampleTelemetryImpl(config) |
| 16 | await impl.initialize() |
| 17 | return impl |