mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-09 06:46:18 +08:00
[braintree] Bump to 4.37.* (#14344)
* `CustomerRecommendationsPayload`: Add `session_id` attribute * `CustomerRecommendationsPayload`: Represent overloaded constructor
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "4.36.*"
|
||||
version = "4.37.*"
|
||||
upstream_repository = "https://github.com/braintree/braintree_python"
|
||||
|
||||
@@ -1,13 +1,21 @@
|
||||
from typing import Any
|
||||
from typing import Any, overload
|
||||
|
||||
from braintree.graphql.unions.customer_recommendations import CustomerRecommendations
|
||||
|
||||
class CustomerRecommendationsPayload:
|
||||
is_in_paypal_network: bool | None
|
||||
recommendations: CustomerRecommendations | None
|
||||
session_id: str
|
||||
is_in_paypal_network: bool
|
||||
recommendations: CustomerRecommendations
|
||||
@overload
|
||||
def __init__(
|
||||
self,
|
||||
is_in_paypal_network: bool | None = None,
|
||||
recommendations: CustomerRecommendations | None = None,
|
||||
response: dict[str, Any] | None = None,
|
||||
session_id: None = None,
|
||||
is_in_paypal_network: None = None,
|
||||
recommendations: None = None,
|
||||
*,
|
||||
response: dict[str, Any],
|
||||
): ...
|
||||
@overload
|
||||
def __init__(
|
||||
self, session_id: str, is_in_paypal_network: bool, recommendations: CustomerRecommendations, response: None = None
|
||||
): ...
|
||||
|
||||
Reference in New Issue
Block a user