MCPcopy Create free account
hub / github.com/ImageEngine/cortex / versions

Method versions

python/IECore/ClassLoader.py:94–99  ·  view source on GitHub ↗
( self, name )

Source from the content-addressed store, hash-verified

92 # class as a list of ints, with the latest version last.
93 # If the class doesn't exist returns an empty list.
94 def versions( self, name ) :
95 try :
96 c = self.__findClass( name )
97 return c["versions"]
98 except :
99 return []
100
101 ## Sets the default version for the named class.
102 # This is the version that is loaded if no version

Callers 2

loadMethod · 0.95
testMethod · 0.95

Calls 1

__findClassMethod · 0.95

Tested by

no test coverage detected