code: def add_include(self, name, included_scope, module):
          
          # The compiler already ensures this. If we still get here with a
          # conflict, that's a bug.
          assert name not in self.included_scopes
  
          self.included_scopes[name] = included_scope
          self.add_surface(name, module)
docs: Register an imported module into this scope.
  
          Raises ``ThriftCompilerError`` if the name has already been used.