merge: chore/cleanup-remove-bloat-and-secrets into main
This commit is contained in:
commit
bde2f3a97d
1173 changed files with 437609 additions and 0 deletions
22
app/domain/labels/sources/open_labels.py
Normal file
22
app/domain/labels/sources/open_labels.py
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
"""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 []
|
||||
Loading…
Add table
Add a link
Reference in a new issue