canonical/cos-lib

allow using cosl.coordinated_workers.S3ConnectionInfo outside of tempo-loki-mimir

开放

#119 创建于 2025年1月27日

 (7 条评论) (0 个反应) (0 位负责人)Python (6 个派生)auto 404
Status: TriageType: Buggood first issue

仓库指标

星标
 (0 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Bug Description

Right now attempting to import that module from outside the HA charms (e.g. Parca) will result in import errors because of the check-charm-libs-installed thing we do on import.

we should either refactor cosl to run that check on-demand rather than on import, or lift anything that needs not be under that check outside of the coordinated_workers module so other charms can use them without ugly workarounds.

To Reproduce

n/a

Environment

n/a

Relevant log output

n/a

Additional context

No response

贡献者指南