def get_asset_search_session(self, proxy):
        """Gets an asset search session.

        arg     proxy (osid.proxy.Proxy): a proxy
        return: (osid.repository.AssetSearchSession) - an
                AssetSearchSession
        raise:  OperationFailed - unable to complete request
        raise:  Unimplemented - supports_asset_search() is false
        compliance: optional - This method must be implemented if
                    supports_asset_search() is true.

        """
        if not self.supports_asset_search():
            raise Unimplemented()
        try:
            from . import sessions
        except ImportError:
            raise  # OperationFailed()
        proxy = self._convert_proxy(proxy)
        try:
            session = sessions.AssetSearchSession(proxy, runtime=self._runtime)
        except AttributeError:
            raise  # OperationFailed()
        return session
def get_asset_search_session ( self , proxy ) : if not self . supports_asset_search ( ) : raise Unimplemented ( ) try : from . import sessions except ImportError : raise proxy = self . _convert_proxy ( proxy ) try : session = sessions . AssetSearchSession ( proxy , runtime = self . _runtime ) except AttributeError : raise return session
Gets an asset search session.

        arg     proxy (osid.proxy.Proxy): a proxy
        return: (osid.repository.AssetSearchSession) - an
                AssetSearchSession
        raise:  OperationFailed - unable to complete request
        raise:  Unimplemented - supports_asset_search() is false
        compliance: optional - This method must be implemented if
                    supports_asset_search() is true.