IDL interfaces map to Python stub classes that contain methods for every operation and attribute defined on the interface. As in IDL, the Python class introduces a new naming scope, and any types defined within the IDL interface are also defined inside the Python stub class.