Skip to content

Rename types.py fields from camelCase to snake_case #1738

Closed

Description

@maxisbey

Summary

Rename fields in the types module from camelCase to snake_case to follow Python naming conventions.

Motivation

  • Python convention is snake_case for attributes and variables
  • Current camelCase naming was inherited from the JSON schema / TypeScript origins
  • Makes the API feel more Pythonic

Migration

  • Use Pydantic field aliases to maintain wire compatibility
  • Add deprecation warnings for camelCase access during transition period

Related


AI Disclaimer

Activity

  1. added
    v2Affects the v2 line (2.x on main)
    enhancementRequest for a new feature that's not currently supported
    P1Significant bug affecting many users, highly requested feature
    breaking changeWill break existing deployments when updated without changes
    on Dec 5, 2025
  2. Kludex commented on Jan 18, 2026

    @Kludex
    Member

    This is solved in main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1Significant bug affecting many users, highly requested featurebreaking changeWill break existing deployments when updated without changesenhancementRequest for a new feature that's not currently supportedv2Affects the v2 line (2.x on main)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions