ExtDataFetcher

class omni.kit.window.extensions.ext_data_fetcher.ExtDataFetcher

Bases: object

Fetches json files near extension archives from the registry and caches them

Methods

__init__()

Initializes the ExtDataFetcher with default properties.

fetch(ext_item)

Fetches and caches the data for the given extension item.

get_ext_data(package_id)

Retrieves the cached data for a given package ID.

__init__()

Initializes the ExtDataFetcher with default properties.

fetch(ext_item: ExtensionCommonInfo)

Fetches and caches the data for the given extension item.

Parameters

ext_item (ExtensionCommonInfo) – The extension item to fetch data for.

get_ext_data(package_id) dict

Retrieves the cached data for a given package ID.

Parameters

package_id (str) – The unique identifier of the package.