MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / _get_str

Method _get_str

monai/utils/enums.py:380–381  ·  view source on GitHub ↗
(prefix: str | None, suffix: str)

Source from the content-addressed store, hash-verified

378
379 @staticmethod
380 def _get_str(prefix: str | None, suffix: str) -> str:
381 return suffix if prefix is None else f"{prefix}_{suffix}"
382
383 @staticmethod
384 def meta(key: str | None = None) -> str:

Callers 3

metaMethod · 0.80
orig_metaMethod · 0.80
transformsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected