@utilities.arguments_not_none<EOL><INDENT>def assign_asset_to_repository(self, asset_id, repository_id):<DEDENT>
<EOL>mgr = self._get_provider_manager('<STR_LIT>', local=True)<EOL>lookup_session = mgr.get_repository_lookup_session(proxy=self._proxy)<EOL>lookup_session.get_repository(repository_id)  <EOL>self._assign_object_to_catalog(asset_id, repository_id)<EOL>
Adds an existing ``Asset`` to a ``Repository``.

        arg:    asset_id (osid.id.Id): the ``Id`` of the ``Asset``
        arg:    repository_id (osid.id.Id): the ``Id`` of the
                ``Repository``
        raise:  AlreadyExists - ``asset_id`` already assigned to
                ``repository_id``
        raise:  NotFound - ``asset_id`` or ``repository_id`` not found
        raise:  NullArgument - ``asset_id`` or ``repository_id`` is
                ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*