mrs_plugin/content_sets.py
def disable_content_set(**kwargs):
    """Enables a content_set of the given service

    Args:
        **kwargs: Additional options

    Keyword Args:
        service_id (int): The id of the service
        content_set_id (int): The id of the content_set
        session (object): The database session to use.
        interactive (bool): Indicates whether to execute in interactive mode

    Returns:
        The result message as string
    """

    service_id = kwargs.get("service_id")
    content_set_id = kwargs.get("content_set_id")
    session = kwargs.get("session")
    interactive = kwargs.get("interactive", True)

    return change_content_set(change_type=CONTENT_SET_DISABLE,
                              service_id=service_id,
                              content_set_id=content_set_id,
                              session=session,
                              interactive=interactive)
Enables a content_set of the given service

    Args:
        **kwargs: Additional options

    Keyword Args:
        service_id (int): The id of the service
        content_set_id (int): The id of the content_set
        session (object): The database session to use.
        interactive (bool): Indicates whether to execute in interactive mode

    Returns:
        The result message as string
    
Enables a content_set of the given service
Enables a content_set of the given service
def disable_content_set(**kwargs):
    service_id = kwargs.get("service_id")
    content_set_id = kwargs.get("content_set_id")
    session = kwargs.get("session")
    interactive = kwargs.get("interactive", True)
    return change_content_set(change_type=CONTENT_SET_DISABLE,
                              service_id=service_id,
                              content_set_id=content_set_id,
                              session=session,
                              interactive=interactive)
def disable_content_set ( ** kwargs ) : service_id = kwargs . get ( "service_id" ) content_set_id = kwargs . get ( "content_set_id" ) session = kwargs . get ( "session" ) interactive = kwargs . get ( "interactive" , True ) return change_content_set ( change_type = CONTENT_SET_DISABLE , service_id = service_id , content_set_id = content_set_id , session = session , interactive = interactive )
Enables a content_set of the given service
Enables a content_set of the given service
"""Enables a content_set of the given service

    Args:
        **kwargs: Additional options

    Keyword Args:
        service_id (int): The id of the service
        content_set_id (int): The id of the content_set
        session (object): The database session to use.
        interactive (bool): Indicates whether to execute in interactive mode

    Returns:
        The result message as string
    """
The result message as string
The result message as string
**kwargs
None