def create_server_context(domain, container_path, context_path=None, use_ssl=True, verify_ssl=True, api_key=None):
    # type: (str, str, str, bool, bool, str) -> ServerContext
    """
    Create a LabKey server context. This context is used to encapsulate properties
    about the LabKey server that is being requested against. This includes, but is not limited to,
    the domain, container_path, if the server is using SSL, and CSRF token request.
    :param domain:
    :param container_path:
    :param context_path:
    :param use_ssl:
    :param verify_ssl:
    :param api_key:
    :return:
    """
    config = dict(
        domain=domain,
        container_path=container_path,
        context_path=context_path,
        use_ssl=use_ssl,
        verify_ssl=verify_ssl,
        api_key=api_key
    )

    return ServerContext(**config)
Create a LabKey server context. This context is used to encapsulate properties
    about the LabKey server that is being requested against. This includes, but is not limited to,
    the domain, container_path, if the server is using SSL, and CSRF token request.
    :param domain:
    :param container_path:
    :param context_path:
    :param use_ssl:
    :param verify_ssl:
    :param api_key:
    :return: