Skip to content

Commit 684a80e

Browse files
authored
[braintree] Update to 4.46.* (#16200)
1 parent b73f5c1 commit 684a80e

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

stubs/braintree/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "4.45.*"
1+
version = "4.46.*"
22
upstream-repository = "https://github.com/braintree/braintree_python"

stubs/braintree/braintree/error_codes.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ class ErrorCodes:
314314
CannotVaultOneTimeUsePayPalAccount: Final = "82902"
315315
ConsentCodeOrAccessTokenIsRequired: Final = "82901"
316316
CustomerIdIsRequiredForVaulting: Final = "82905"
317+
EmailFormatIsInvalid: Final = "92963"
318+
EmailIsTooLong: Final = "92964"
317319
InvalidParamsForPayPalAccountUpdate: Final = "92915"
318320
PayPalAccountsAreNotAccepted: Final = "82904"
319321
PayPalCommunicationError: Final = "92910"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import re
2+
from typing import Final
3+
4+
VALID_PATH_SEGMENT_REGEX: Final[re.Pattern[str]]
5+
6+
def is_invalid_path_segment(value: object) -> bool: ...

0 commit comments

Comments
 (0)