@utilities.arguments_not_none<EOL><INDENT>def get_proxy(self, input_):<DEDENT>
if input_._http_request is not None:<EOL><INDENT>authentication = Authentication()<EOL>authentication.set_django_user(input_._http_request.user)<EOL><DEDENT>else:<EOL><INDENT>authentication = None<EOL><DEDENT>effective_agent_id = input_._effective_agent_id<EOL>return rules.Proxy(authentication=authentication,<EOL>effective_agent_id=effective_agent_id)<EOL>
Gets a proxy.

        arg:    input (osid.proxy.ProxyCondition): a proxy condition
        return: (osid.proxy.Proxy) - a proxy
        raise:  NullArgument - ``input`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        raise:  Unsupported - ``input`` is not of this service
        *compliance: mandatory -- This method is must be implemented.*