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

Method get_properties

src/bsdd/bsdd.py:735–755  ·  view source on GitHub ↗

Get Dictionary with its properties

(
        self,
        dictionary_uri: str,
        search_text: str = "",
        offset: int = 0,
        limit: int = 100,
        language_code: str = "",
        version: int = 1,
    )

Source from the content-addressed store, hash-verified

733 return self.get(endpoint, params)
734
735 def get_properties(
736 self,
737 dictionary_uri: str,
738 search_text: str = "",
739 offset: int = 0,
740 limit: int = 100,
741 language_code: str = "",
742 version: int = 1,
743 ) -> DictionaryPropertiesResponseContractV1:
744 """
745 Get Dictionary with its properties
746 """
747 endpoint = f"Dictionary/v{version}/Properties"
748 params = {
749 "Uri": dictionary_uri,
750 "SearchText": search_text,
751 "languageCode": language_code,
752 "offset": offset,
753 "limit": limit,
754 }
755 return self.get(endpoint, params)
756
757 def get_class(
758 self,

Callers 2

test_get_propertiesFunction · 0.45
import_propertiesMethod · 0.45

Calls 1

getMethod · 0.95

Tested by 1

test_get_propertiesFunction · 0.36