Merge branch 'feature/SIENTIAPDE-1972-gateway-write-read' into feature/SIENTIAPDE-1972-gateway-wiring

This commit is contained in:
PedroHMCosme
2026-09-22 16:57:37 -03:00
3 changed files with 8 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import ingestor.metrics as metrics
# fullmatch (no ^/$ anchors) so a trailing newline can't slip through — `$` would
# match before a trailing '\n', which is not what we want for a SQL identifier.
_IDENTIFIER_RE = re.compile(r'[A-Za-z0-9_]+')
_IDENTIFIER_RE = re.compile(r'\w+', re.ASCII)
class DataSink:
@@ -42,7 +42,7 @@ class DataSink:
},
)
async def update_write_status(self, cmd: dict, result) -> None:
async def update_write_status(self, cmd: dict, result) -> None: # NOSONAR
"""UPDATE the per-model prediction row's write_status (C3), by timestamp+model_id.
schema/table_name are per-model SQL identifiers, not values — they can't be