feat: Convert fields in types.py to use snake_case - #199
Merged
Conversation
holtskinner
requested review from
kthota-g and
pwwpche
and removed request for
pwwpche
June 16, 2025 16:09
holtskinner
force-pushed
the
snake-case-field
branch
2 times, most recently
from
June 16, 2025 18:18
59bdfe3 to
3168e8e
Compare
snake_case for all fields in in types.pysnake_case for all fields in in types.py
holtskinner
force-pushed
the
snake-case-field
branch
from
June 16, 2025 19:37
63c6a1d to
7eedfb7
Compare
holtskinner
marked this pull request as draft
June 20, 2025 14:59
holtskinner
force-pushed
the
snake-case-field
branch
from
July 16, 2025 17:26
9b13b6e to
f251bff
Compare
Member
Author
|
\gemini review |
holtskinner
marked this pull request as ready for review
July 16, 2025 18:28
holtskinner
force-pushed
the
snake-case-field
branch
from
July 16, 2025 18:33
9570835 to
32a599c
Compare
snake_case for all fields in in types.pytypes.py to snake_case
holtskinner
force-pushed
the
snake-case-field
branch
from
July 17, 2025 18:29
f943f22 to
4835603
Compare
holtskinner
force-pushed
the
snake-case-field
branch
from
July 17, 2025 19:07
5a7cb06 to
7649d0c
Compare
…python into snake-case-field
holtskinner
commented
Jul 21, 2025
types.py to snake_casesnake_case support for fields in types.py
snake_case support for fields in types.pytypes.py to use snake_case
holtskinner
pushed a commit
that referenced
this pull request
Jul 21, 2025
🤖 I have created a release *beep* *boop* --- ## [0.2.16](v0.2.15...v0.2.16) (2025-07-21) ### Features * Convert fields in `types.py` to use `snake_case` ([#199](#199)) ([0bb5563](0bb5563)) ### Bug Fixes * Add deprecation warning for camelCase alias ([#334](#334)) ([f22b384](f22b384)) * client should not specify `taskId` if it doesn't exist ([#264](#264)) ([97f1093](97f1093)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes types more pythonic
Pydantic aliases can be used for initialization and are used automatically for serialization.
Added a workaround to support
camelCasewhen setting specific attributes.NOTE: In 0.3.0 and later, only snake_case will be supported for direct attribute access.