MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / get_dictionary

Method get_dictionary

src/bsdd/bsdd.py:688–697  ·  view source on GitHub ↗

Get list of available Dictionaries This API replaces Domain

(
        self, dictionary_uri: str = "", include_test_dictionaries: bool = "False", version: int = 1
    )

Source from the content-addressed store, hash-verified

686 return self.get(f"api/Unit/{version}")
687
688 def get_dictionary(
689 self, dictionary_uri: str = "", include_test_dictionaries: bool = "False", version: int = 1
690 ) -> DictionaryResponseContractV1:
691 """
692 Get list of available Dictionaries
693 This API replaces Domain
694 """
695 endpoint = f"Dictionary/v{version}"
696 params = {"Uri": dictionary_uri, "IncludeTestDictionaries": "true" if include_test_dictionaries else "false"}
697 return self.get(endpoint, params)
698
699 def get_classes(
700 self,

Callers 2

test_bsdd.pyFile · 0.45
test_get_dictionaryFunction · 0.45

Calls 1

getMethod · 0.95

Tested by 1

test_get_dictionaryFunction · 0.36