← Về thư mục
skills/ontology-term-resolution/scripts/id_client.py
- IdError · class · L53-L54 — class IdError(RuntimeError)
- NotFoundError · class · L57-L63 — class NotFoundError(IdError)
- init · method · L60-L63 — def init(self, detail: str, url: str)
- _request · function · L66-L86 — def _request(url: str) -> dict
- _detail_from_body · function · L89-L96 — def _detail_from_body(body: str) -> str
- get_resource · function · L99-L102 — def get_resource(prefix: str) -> dict
- get_reference · function · L105-L112 — def get_reference(curie: str) -> dict
- identifiers_resolver_url · function · L115-L122 — def identifiers_resolver_url(curie: str) -> str
- resolve_identifiers · function · L125-L145 — def resolve_identifiers(curie: str) -> dict
- split_query · function · L151-L157 — def split_query(value: str) -> tuple[str, str | None]
- is_prefix · function · L160-L162 — def is_prefix(value: str) -> bool
- local_matches_pattern · function · L165-L176 — def local_matches_pattern(local: str, pattern: str | None) -> bool | None
- apply_uri_format · function · L179-L183 — def apply_uri_format(uri_format: str | None, local: str) -> str | None
- ontobee_url · function · L186-L199 — def ontobee_url(ontobee_prefix: str | None, iri: str | None) -> str | None
- compact_id_from_identifiers_url · function · L202-L207 — def compact_id_from_identifiers_url(url: str) -> str | None
- landing_page_urls · function · L210-L231 — def landing_page_urls( resource: dict | None, reference: dict | None, iri: str | None, ) -> tuple[str, str]
- identifiers_landing_pages · function · L234-L249 — def identifiers_landing_pages(payload: dict) -> list[dict[str, Any]]
- classify_prefix_query · function · L252-L318 — def classify_prefix_query( query: str, resource: dict | None, *, local: str | None, reference_detail: str | None = None, ) -> dict