Skip to content

feat: Add informix to DatabaseType enum#13

Merged
beneboy merged 1 commit into
mainfrom
add-informix-db-type
Jun 9, 2026
Merged

feat: Add informix to DatabaseType enum#13
beneboy merged 1 commit into
mainfrom
add-informix-db-type

Conversation

@beneboy

@beneboy beneboy commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds informix as a supported database type.

Informix is a standard relational SQL database (host/port/database/user/password/schema), so it routes through the default DatabaseConnectionConfig — exactly like postgres, oracle, db2_luw and db2i. Those types deliberately aren't in DB_TYPE_MAP and don't need a dedicated connection config class, so this is a single-line enum addition. (Contrast with databricks, which needed a bespoke config class for its non-standard connection params.)

Change

  • datamasque/client/models/connection.py: add informix = "informix" to the DatabaseType enum.

Verification

  • Grepped the codebase: nothing else exhaustively enumerates DatabaseType, so there are no parallel spots to update.
  • tests/test_connections.py — 49 passed.
  • Smoke test: an informix payload dispatches to DatabaseConnectionConfig, resolves to DatabaseType.informix, and serializes back to db_type: "informix".

Note

This assumes the DataMasque server accepts "informix" as its db_type value — the client passes the string through unchanged.

🤖 Generated with Claude Code

Informix is a standard relational SQL database (host/port/database/
user/password/schema), so it routes through the default
DatabaseConnectionConfig like postgres, oracle, db2_luw and db2i —
no dedicated connection config class or DB_TYPE_MAP entry needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@beneboy beneboy requested a review from carlosfunk June 9, 2026 02:25
@beneboy beneboy merged commit 2e887da into main Jun 9, 2026
8 checks passed
@beneboy beneboy deleted the add-informix-db-type branch June 9, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants