From 8c40b154c16814fc84e0e059e43b29e7b8592435 Mon Sep 17 00:00:00 2001 From: Norman Hooper Date: Wed, 28 Aug 2024 18:40:20 +0100 Subject: [PATCH] Update comments: ConfigurableAPI is inbound only --- corehq/motech/generic_inbound/models.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/corehq/motech/generic_inbound/models.py b/corehq/motech/generic_inbound/models.py index 3103d829b4e5..b1e2654d0377 100644 --- a/corehq/motech/generic_inbound/models.py +++ b/corehq/motech/generic_inbound/models.py @@ -31,12 +31,10 @@ class ConfigurableAPI(models.Model): updated_on = models.DateTimeField(auto_now=True) name = models.CharField(max_length=255) description = models.TextField(blank=True, null=True) - # UCR Expression to filter incoming/outgoing requests - # before they are processed/sent + # UCR Expression to filter incoming requests before they are processed filter_expression = models.ForeignKey( UCRExpression, on_delete=models.PROTECT, related_name="api_filter", null=True, blank=True) - # UCR Expression to transform the data to be processed/sent - # from the original data received/to be sent + # UCR Expression to transform the incoming data to be processed transform_expression = models.ForeignKey( UCRExpression, on_delete=models.PROTECT, related_name="api_expression") # type of data backend like JSON, HL7 etc