Strict Mode for Configuration (strict)
The strict parameter on ArgusClient.create() controls how the client handles non-critical, client-side configuration errors. This is particularly useful for policies that require non-empty lists of parameters.
-
strict=True(Default): This is the recommended and safest mode for production. If you enable a policy that requires metadata but provide an invalid configuration (e.g.,BANNED_TOPICSwith an emptytopicslist), the client will immediately raise anArgusValueError. This prevents you from running with a misconfigured policy. -
strict=False: In the same scenario, the client will instead issue aUserWarningand proceed. This can be useful during rapid development or testing but is not recommended for production environments where configuration must be precise.

