22 lines
544 B
Python
22 lines
544 B
Python
"""Open Labels Initiative (OLI) source — placeholder.
|
|
|
|
TODO: wire up when OLI endpoint is confirmed. GitHub repo:
|
|
https://github.com/openlabelsinitiative/OLI
|
|
|
|
For now returns []. Stub.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
import logging
|
|
|
|
from app.domain.labels.models import Label
|
|
|
|
log = logging.getLogger(__name__)
|
|
|
|
|
|
async def query_open_labels(address: str, chain: str = "ethereum") -> list[Label]:
|
|
"""Query OLI for an address's labels.
|
|
|
|
Returns [] until OLI endpoint is confirmed and we have API access.
|
|
"""
|
|
return []
|