-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardized the signatures for CorrelationIdFilter/CeleryTracingIdsF…
…ilter and standardized the string trimming process for the filtering logic * changed type from int to Optional[int] for optional parameter 'uuid_length' in CeleryTracingIdsFilter * changed default value from 32 to None for optional parameter 'uuid_length' in CeleryTracingIdsFilter * created and utilized function `_trim_string` to standardize string trimming logic in filters * added test to test string trimming for CeleryTracingIdsFilter * added test to ensure the default behavior of the new filter matched the behavior of the old filter. This assumes default generators are used
- Loading branch information
David Pryor (dapryor)
committed
Sep 28, 2022
1 parent
75d6587
commit ec96801
Showing
2 changed files
with
60 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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