Tags: syngenta/acai-python
Tags
fix(logger): accept canonical Python level names (WARNING, DEBUG, CRI… …TICAL) CommonLogger.log_levels only knew INFO/WARN/ERROR, so any caller passing the canonical Python logging name (e.g. 'WARNING', as emitted by the stdlib logging module and most third-party libraries) hit KeyError inside __should_log. The outer log() wrapper caught the KeyError and re-emitted it as a stdlib logging.exception(), surfacing as a noisy ERROR log and a dropped WARNING. Extend the dict to cover DEBUG, WARNING (alias of WARN), and CRITICAL/FATAL.
2.6.0 — ALB Router Add acai_aws.alb.Router with full apigateway routing parity. Reuses Resolver, Endpoint, ConfigValidator, Validator, and @requirements unchanged. ALB-specific behavior: base64 body decoding, statusDescription on responses, target_group_arn / source_ip on requests. apigateway.Router exposes Request/Response as overridable class attributes (request_class / response_class) — backwards compatible.
fix: resolve all pylint issues in openapi module (10.00/10) - Add encoding='utf-8' to open() calls in file_writer - Add missing final newline in scanner - Remove unnecessary elif after return in module.__get_schema_body - Add explicit return None for consistent return statements - Suppress too-many-positional-arguments on HandlerModule.__init__ - Use ValueError instead of broad Exception in input validator Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix: inline $defs from pydantic model_json_schema in OpenAPI generator Pydantic's model_json_schema() produces $defs for nested types (enums, optional unions). While valid in JSON Schema and OpenAPI 3.1.0, many parsers (swagger-parser, redoc) don't support $defs. Inline them at generation time so the output is universally compatible.
PreviousNext