MCPcopy Create free account
hub / github.com/NVIDIA/DALI / get_alias

Method get_alias

qa/setup_packages.py:133–141  ·  view source on GitHub ↗

Obtains alias for given version if exists. Otherwise return None Parameters ---------- version : str or PckgVer Package version

(version)

Source from the content-addressed store, hash-verified

131
132 @staticmethod
133 def get_alias(version):
134 """Obtains alias for given version if exists. Otherwise return None
135
136 Parameters
137 ----------
138 version : str or PckgVer
139 Package version
140 """
141 return getattr(version, "alias", None)
142
143 def get_dependencies(self, cuda_version=None, idx=None):
144 """Obtains dependant packages list if exists. Otherwise return None

Callers 3

get_nameMethod · 0.80
get_uninstall_namesMethod · 0.80
print_configsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected