# tff.test.assert_not_contains_secure_aggregation

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Asserts that `comp` contains no secure aggregation calls.

    tff.test.assert_not_contains_secure_aggregation(
        comp
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `comp` | A [`tff.Computation`](https://www.tensorflow.org/federated/api_docs/python/tff/Computation), often a function annotated with [`tff.federated_computation`](https://www.tensorflow.org/federated/api_docs/python/tff/federated_computation) or [`tff.tensorflow.computation`](https://www.tensorflow.org/federated/api_docs/python/tff/tensorflow/computation). Note that polymorphic functions (those without the types of their arguments explicitly specified) will not yet be [`tff.Computation`](https://www.tensorflow.org/federated/api_docs/python/tff/Computation)s. |

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| AssertionError if `comp` contains a secure aggregation call. ValueError if `comp` contains a call whose target function cannot be identified. This may result from calls to references or other indirect structures. ||

<br />