Miscellaneous Methods

Note

This section includes various utility methods providing additional functionality for different purposes.

relate_models(self, reference_model_asset_id: str = None, model_asset_id: str = None)

Returns Update master_id for a model

Returns:

Update master_id for a model, now both models will be in same row.

Return type:

None

Example,:

client.assets.model_usecase.get_grc_model(id=<grc_model_id>)
get_info(self, verbose=False) Dict

Get model use case details

Parameters:

verbose (bool, optional) – If True, returns additional model details. Defaults to False

Return type:

dict

The way to use me is:

# >>> get_model_usecase.get_info() # >>> get_model_usecase.get_info(verbose=True)

get_name(self) str

Returns model usecase name

Returns:

Model usecase name

Return type:

str

Example,:

client.assets.model_usecase.get_name()
get_id(self) str

Returns model usecase asset ID

Returns:

Model usecase asset ID

Return type:

str

Example,:

client.assets.model_usecase.get_id()
get_container_id(self) str

Returns model usecase container ID

Returns:

Model usecase container ID

Return type:

str

Example,:

client.assets.model_usecase.get_container_id()
get_container_type(self) str

Returns model usecase container type

Returns:

Model usecase container type

Return type:

str

Example,:

client.assets.model_usecase.get_container_type()
get_description(self) str

Returns model usecase description

Returns:

Model usecase description

Return type:

str

Example,:

client.assets.model_usecase.get_description()