From dda8f1915c66b1b165a07c73416089ec9e430167 Mon Sep 17 00:00:00 2001 From: Harshad Hegde Date: Tue, 13 Feb 2024 12:15:49 -0600 Subject: [PATCH] adjustments --- docs/technical_docs/context.rst | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/docs/technical_docs/context.rst b/docs/technical_docs/context.rst index aa1ad974..7c2e1a98 100644 --- a/docs/technical_docs/context.rst +++ b/docs/technical_docs/context.rst @@ -3,29 +3,10 @@ Utilities for loading JSON-LD contexts This module provides utility functions for loading JSON-LD contexts. + Functions --------- -.. autofunction:: get_converter -.. autofunction:: ensure_converter - -Variables and Constants ------------------------ - -.. autodata:: SSSOM_BUILT_IN_PREFIXES -.. autodata:: SSSOM_CONTEXT -.. autodata:: ConverterHint - -Private Functions ------------------ - -.. autofunction:: _get_default_converter -.. autofunction:: _load_sssom_context -.. autofunction:: _get_built_in_prefix_map - -Details -------- - **get_converter** This function returns a converter. The converter is obtained by chaining a built-in prefix map with a default converter. The function is cached using `functools.lru_cache` which means the result is saved and returned for any subsequent calls without re-executing the function.