Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ImageEngine/cortex
/ __validateVersion
Method
__validateVersion
python/IECore/ClassLoader.py:298–301 ·
view source on GitHub ↗
( version )
Source
from the content-addressed store, hash-verified
296
# throws an exception if the version is no good
297
@staticmethod
298
def
__validateVersion( version ) :
299
300
if
not type( version ) is int :
301
raise
TypeError(
"Version must be an integer"
)
302
Callers
1
setDefaultVersion
Method · 0.95
Calls
1
type
Function · 0.85
Tested by
no test coverage detected