Skip to content

Make sure locals_max_{length,string} work as expected in case they are None#675

Merged
hynek merged 3 commits intohynek:mainfrom
Sh4pe:fix/exception-dict-transformer-type-error
Jan 4, 2025
Merged

Make sure locals_max_{length,string} work as expected in case they are None#675
hynek merged 3 commits intohynek:mainfrom
Sh4pe:fix/exception-dict-transformer-type-error

Conversation

@Sh4pe
Copy link
Contributor

@Sh4pe Sh4pe commented Nov 13, 2024

This PR fixes the case where truncation or abbreviation in ExceptionDictTransformer is disabled using locals_max_length or locals_max_string.

Closes #672.

@Sh4pe Sh4pe force-pushed the fix/exception-dict-transformer-type-error branch from d124c51 to cab20c7 Compare November 13, 2024 23:16
@Sh4pe
Copy link
Contributor Author

Sh4pe commented Nov 13, 2024

Uhm, what about the pre-commit check? What is wrong there?

@Sh4pe Sh4pe force-pushed the fix/exception-dict-transformer-type-error branch from cab20c7 to d86f1c3 Compare December 3, 2024 20:45
@Sh4pe Sh4pe force-pushed the fix/exception-dict-transformer-type-error branch from d86f1c3 to 79297cf Compare December 3, 2024 20:47
@hynek hynek merged commit 6f822dc into hynek:main Jan 4, 2025
@hynek
Copy link
Owner

hynek commented Jan 4, 2025

thanks!

hynek added a commit that referenced this pull request Jan 4, 2025
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.

TypeError when setting ExceptionDictTransformer's constructor arguments locals_max_string and locals_max_length to None

2 participants