mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +08:00
Replace Any with Incomplete in many places (#9558)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -14,13 +14,13 @@ class Address(Resource):
|
||||
Electronic: str
|
||||
ShipToStore: str
|
||||
@staticmethod
|
||||
def create(params: Any | None = ...): ...
|
||||
def create(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def delete(customer_id, address_id): ...
|
||||
@staticmethod
|
||||
def find(customer_id, address_id): ...
|
||||
@staticmethod
|
||||
def update(customer_id, address_id, params: Any | None = ...): ...
|
||||
def update(customer_id, address_id, params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def create_signature(): ...
|
||||
@staticmethod
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
@@ -10,7 +11,7 @@ class AddressGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Any | None = ...): ...
|
||||
def create(self, params: Incomplete | None = ...): ...
|
||||
def delete(self, customer_id, address_id): ...
|
||||
def find(self, customer_id, address_id): ...
|
||||
def update(self, customer_id, address_id, params: Any | None = ...): ...
|
||||
def update(self, customer_id, address_id, params: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class AttributeGetter:
|
||||
def __init__(self, attributes: Any | None = ...) -> None: ...
|
||||
def __init__(self, attributes: Incomplete | None = ...) -> None: ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.add_on_gateway import AddOnGateway as AddOnGateway
|
||||
@@ -57,4 +58,4 @@ class BraintreeGateway:
|
||||
verification: Any
|
||||
webhook_notification: Any
|
||||
webhook_testing: Any
|
||||
def __init__(self, config: Any | None = ..., **kwargs) -> None: ...
|
||||
def __init__(self, config: Incomplete | None = ..., **kwargs) -> None: ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree import exceptions as exceptions
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -7,6 +7,6 @@ from braintree.util.crypto import Crypto as Crypto
|
||||
|
||||
class ClientToken:
|
||||
@staticmethod
|
||||
def generate(params: Any | None = ..., gateway: Any | None = ...): ...
|
||||
def generate(params: Incomplete | None = ..., gateway: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def generate_signature(): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree import exceptions as exceptions
|
||||
@@ -8,4 +9,4 @@ class ClientTokenGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def generate(self, params: Any | None = ...): ...
|
||||
def generate(self, params: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.credentials_parser import CredentialsParser as CredentialsParser
|
||||
@@ -29,13 +30,13 @@ class Configuration:
|
||||
wrap_http_exceptions: Any
|
||||
def __init__(
|
||||
self,
|
||||
environment: Any | None = ...,
|
||||
merchant_id: Any | None = ...,
|
||||
public_key: Any | None = ...,
|
||||
private_key: Any | None = ...,
|
||||
client_id: Any | None = ...,
|
||||
client_secret: Any | None = ...,
|
||||
access_token: Any | None = ...,
|
||||
environment: Incomplete | None = ...,
|
||||
merchant_id: Incomplete | None = ...,
|
||||
public_key: Incomplete | None = ...,
|
||||
private_key: Incomplete | None = ...,
|
||||
client_id: Incomplete | None = ...,
|
||||
client_secret: Incomplete | None = ...,
|
||||
access_token: Incomplete | None = ...,
|
||||
*args,
|
||||
**kwargs,
|
||||
) -> None: ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.environment import Environment as Environment
|
||||
@@ -7,7 +8,9 @@ class CredentialsParser:
|
||||
client_id: Any
|
||||
client_secret: Any
|
||||
access_token: Any
|
||||
def __init__(self, client_id: Any | None = ..., client_secret: Any | None = ..., access_token: Any | None = ...) -> None: ...
|
||||
def __init__(
|
||||
self, client_id: Incomplete | None = ..., client_secret: Incomplete | None = ..., access_token: Incomplete | None = ...
|
||||
) -> None: ...
|
||||
environment: Any
|
||||
def parse_client_credentials(self) -> None: ...
|
||||
merchant_id: Any
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
@@ -44,9 +45,9 @@ class CreditCard(Resource):
|
||||
Prepaid: Any
|
||||
ProductId: Any
|
||||
@staticmethod
|
||||
def create(params: Any | None = ...): ...
|
||||
def create(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def update(credit_card_token, params: Any | None = ...): ...
|
||||
def update(credit_card_token, params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def delete(credit_card_token): ...
|
||||
@staticmethod
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.credit_card import CreditCard as CreditCard
|
||||
@@ -12,11 +13,11 @@ class CreditCardGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Any | None = ...): ...
|
||||
def create(self, params: Incomplete | None = ...): ...
|
||||
def delete(self, credit_card_token): ...
|
||||
def expired(self): ...
|
||||
def expiring_between(self, start_date, end_date): ...
|
||||
def find(self, credit_card_token): ...
|
||||
def forward(self, credit_card_token, receiving_merchant_id) -> None: ...
|
||||
def from_nonce(self, nonce): ...
|
||||
def update(self, credit_card_token, params: Any | None = ...): ...
|
||||
def update(self, credit_card_token, params: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
@@ -25,15 +26,15 @@ class Customer(Resource):
|
||||
@staticmethod
|
||||
def all(): ...
|
||||
@staticmethod
|
||||
def create(params: Any | None = ...): ...
|
||||
def create(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def delete(customer_id): ...
|
||||
@staticmethod
|
||||
def find(customer_id, association_filter_id: Any | None = ...): ...
|
||||
def find(customer_id, association_filter_id: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def search(*query): ...
|
||||
@staticmethod
|
||||
def update(customer_id, params: Any | None = ...): ...
|
||||
def update(customer_id, params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def create_signature(): ...
|
||||
@staticmethod
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.customer import Customer as Customer
|
||||
@@ -13,8 +14,8 @@ class CustomerGateway:
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def all(self): ...
|
||||
def create(self, params: Any | None = ...): ...
|
||||
def create(self, params: Incomplete | None = ...): ...
|
||||
def delete(self, customer_id): ...
|
||||
def find(self, customer_id, association_filter_id: Any | None = ...): ...
|
||||
def find(self, customer_id, association_filter_id: Incomplete | None = ...): ...
|
||||
def search(self, *query): ...
|
||||
def update(self, customer_id, params: Any | None = ...): ...
|
||||
def update(self, customer_id, params: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.resource import Resource as Resource
|
||||
@@ -8,7 +8,7 @@ class DocumentUpload(Resource):
|
||||
class Kind:
|
||||
EvidenceDocument: str
|
||||
@staticmethod
|
||||
def create(params: Any | None = ...): ...
|
||||
def create(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def create_signature(): ...
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.document_upload import DocumentUpload as DocumentUpload
|
||||
@@ -9,4 +10,4 @@ class DocumentUploadGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Any | None = ...): ...
|
||||
def create(self, params: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -25,7 +26,7 @@ class MerchantAccount(Resource):
|
||||
master_merchant_account: Any
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@staticmethod
|
||||
def create(params: Any | None = ...): ...
|
||||
def create(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def update(id, attributes): ...
|
||||
@staticmethod
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -13,8 +14,8 @@ class MerchantAccountGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Any | None = ...): ...
|
||||
def update(self, merchant_account_id, params: Any | None = ...): ...
|
||||
def create(self, params: Incomplete | None = ...): ...
|
||||
def update(self, merchant_account_id, params: Incomplete | None = ...): ...
|
||||
def find(self, merchant_account_id): ...
|
||||
def create_for_currency(self, params: Any | None = ...): ...
|
||||
def create_for_currency(self, params: Incomplete | None = ...): ...
|
||||
def all(self): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.address import Address as Address
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -6,13 +6,13 @@ from braintree.resource import Resource as Resource
|
||||
|
||||
class PaymentMethod(Resource):
|
||||
@staticmethod
|
||||
def create(params: Any | None = ...): ...
|
||||
def create(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def find(payment_method_token): ...
|
||||
@staticmethod
|
||||
def update(payment_method_token, params): ...
|
||||
@staticmethod
|
||||
def delete(payment_method_token, options: Any | None = ...): ...
|
||||
def delete(payment_method_token, options: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def create_signature(): ...
|
||||
@staticmethod
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard as AmexExpressCheckoutCard
|
||||
@@ -26,10 +27,10 @@ class PaymentMethodGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Any | None = ...): ...
|
||||
def create(self, params: Incomplete | None = ...): ...
|
||||
def find(self, payment_method_token): ...
|
||||
def update(self, payment_method_token, params): ...
|
||||
def delete(self, payment_method_token, options: Any | None = ...): ...
|
||||
def delete(self, payment_method_token, options: Incomplete | None = ...): ...
|
||||
options: Any
|
||||
def grant(self, payment_method_token, options: Any | None = ...): ...
|
||||
def grant(self, payment_method_token, options: Incomplete | None = ...): ...
|
||||
def revoke(self, payment_method_token): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -9,7 +10,7 @@ class PayPalAccount(Resource):
|
||||
@staticmethod
|
||||
def delete(paypal_account_token): ...
|
||||
@staticmethod
|
||||
def update(paypal_account_token, params: Any | None = ...): ...
|
||||
def update(paypal_account_token, params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def signature(): ...
|
||||
subscriptions: Any
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -12,4 +13,4 @@ class PayPalAccountGateway:
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def find(self, paypal_account_token): ...
|
||||
def delete(self, paypal_account_token): ...
|
||||
def update(self, paypal_account_token, params: Any | None = ...): ...
|
||||
def update(self, paypal_account_token, params: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -10,4 +10,4 @@ from braintree.util.http import Http as Http
|
||||
|
||||
class SettlementBatchSummary(Resource):
|
||||
@staticmethod
|
||||
def generate(settlement_date, group_by_custom_field: Any | None = ...): ...
|
||||
def generate(settlement_date, group_by_custom_field: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -9,4 +10,4 @@ class SettlementBatchSummaryGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def generate(self, settlement_date, group_by_custom_field: Any | None = ...): ...
|
||||
def generate(self, settlement_date, group_by_custom_field: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.add_on import AddOn as AddOn
|
||||
@@ -30,15 +31,15 @@ class Subscription(Resource):
|
||||
PastDue: str
|
||||
Pending: str
|
||||
@staticmethod
|
||||
def create(params: Any | None = ...): ...
|
||||
def create(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def create_signature(): ...
|
||||
@staticmethod
|
||||
def find(subscription_id): ...
|
||||
@staticmethod
|
||||
def retry_charge(subscription_id, amount: Any | None = ..., submit_for_settlement: bool = ...): ...
|
||||
def retry_charge(subscription_id, amount: Incomplete | None = ..., submit_for_settlement: bool = ...): ...
|
||||
@staticmethod
|
||||
def update(subscription_id, params: Any | None = ...): ...
|
||||
def update(subscription_id, params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def cancel(subscription_id): ...
|
||||
@staticmethod
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -13,8 +14,8 @@ class SubscriptionGateway:
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def cancel(self, subscription_id): ...
|
||||
def create(self, params: Any | None = ...): ...
|
||||
def create(self, params: Incomplete | None = ...): ...
|
||||
def find(self, subscription_id): ...
|
||||
def retry_charge(self, subscription_id, amount: Any | None = ..., submit_for_settlement: bool = ...): ...
|
||||
def retry_charge(self, subscription_id, amount: Incomplete | None = ..., submit_for_settlement: bool = ...): ...
|
||||
def search(self, *query): ...
|
||||
def update(self, subscription_id, params: Any | None = ...): ...
|
||||
def update(self, subscription_id, params: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.add_on import AddOn as AddOn
|
||||
@@ -103,23 +104,23 @@ class Transaction(Resource):
|
||||
@staticmethod
|
||||
def cancel_release(transaction_id): ...
|
||||
@staticmethod
|
||||
def credit(params: Any | None = ...): ...
|
||||
def credit(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def find(transaction_id): ...
|
||||
@staticmethod
|
||||
def hold_in_escrow(transaction_id): ...
|
||||
@staticmethod
|
||||
def refund(transaction_id, amount_or_options: Any | None = ...): ...
|
||||
def refund(transaction_id, amount_or_options: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def sale(params: Any | None = ...): ...
|
||||
def sale(params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def search(*query): ...
|
||||
@staticmethod
|
||||
def release_from_escrow(transaction_id): ...
|
||||
@staticmethod
|
||||
def submit_for_settlement(transaction_id, amount: Any | None = ..., params: Any | None = ...): ...
|
||||
def submit_for_settlement(transaction_id, amount: Incomplete | None = ..., params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def update_details(transaction_id, params: Any | None = ...): ...
|
||||
def update_details(transaction_id, params: Incomplete | None = ...): ...
|
||||
@staticmethod
|
||||
def void(transaction_id): ...
|
||||
@staticmethod
|
||||
@@ -135,7 +136,7 @@ class Transaction(Resource):
|
||||
@staticmethod
|
||||
def refund_signature(): ...
|
||||
@staticmethod
|
||||
def submit_for_partial_settlement(transaction_id, amount, params: Any | None = ...): ...
|
||||
def submit_for_partial_settlement(transaction_id, amount, params: Incomplete | None = ...): ...
|
||||
amount: Any
|
||||
tax_amount: Any
|
||||
discount_amount: Any
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -19,11 +20,11 @@ class TransactionGateway:
|
||||
def credit(self, params): ...
|
||||
def find(self, transaction_id): ...
|
||||
def hold_in_escrow(self, transaction_id): ...
|
||||
def refund(self, transaction_id, amount_or_options: Any | None = ...): ...
|
||||
def refund(self, transaction_id, amount_or_options: Incomplete | None = ...): ...
|
||||
def sale(self, params): ...
|
||||
def search(self, *query): ...
|
||||
def release_from_escrow(self, transaction_id): ...
|
||||
def submit_for_settlement(self, transaction_id, amount: Any | None = ..., params: Any | None = ...): ...
|
||||
def update_details(self, transaction_id, params: Any | None = ...): ...
|
||||
def submit_for_partial_settlement(self, transaction_id, amount, params: Any | None = ...): ...
|
||||
def submit_for_settlement(self, transaction_id, amount: Incomplete | None = ..., params: Incomplete | None = ...): ...
|
||||
def update_details(self, transaction_id, params: Incomplete | None = ...): ...
|
||||
def submit_for_partial_settlement(self, transaction_id, amount, params: Incomplete | None = ...): ...
|
||||
def void(self, transaction_id): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.exceptions.authentication_error import AuthenticationError as AuthenticationError
|
||||
@@ -14,5 +15,5 @@ class GraphQLClient(Http):
|
||||
@staticmethod
|
||||
def raise_exception_for_graphql_error(response) -> None: ...
|
||||
graphql_headers: Any
|
||||
def __init__(self, config: Any | None = ..., environment: Any | None = ...) -> None: ...
|
||||
def query(self, definition, variables: Any | None = ..., operation_name: Any | None = ...): ...
|
||||
def __init__(self, config: Incomplete | None = ..., environment: Incomplete | None = ...) -> None: ...
|
||||
def query(self, definition, variables: Incomplete | None = ..., operation_name: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree import version as version
|
||||
@@ -29,14 +30,14 @@ class Http:
|
||||
@staticmethod
|
||||
def is_error_status(status): ...
|
||||
@staticmethod
|
||||
def raise_exception_from_status(status, message: Any | None = ...) -> None: ...
|
||||
def raise_exception_from_status(status, message: Incomplete | None = ...) -> None: ...
|
||||
config: Any
|
||||
environment: Any
|
||||
def __init__(self, config, environment: Any | None = ...) -> None: ...
|
||||
def post(self, path, params: Any | None = ...): ...
|
||||
def __init__(self, config, environment: Incomplete | None = ...) -> None: ...
|
||||
def post(self, path, params: Incomplete | None = ...): ...
|
||||
def delete(self, path): ...
|
||||
def get(self, path): ...
|
||||
def put(self, path, params: Any | None = ...): ...
|
||||
def post_multipart(self, path, files, params: Any | None = ...): ...
|
||||
def put(self, path, params: Incomplete | None = ...): ...
|
||||
def post_multipart(self, path, files, params: Incomplete | None = ...): ...
|
||||
def http_do(self, http_verb, path, headers, request_body): ...
|
||||
def handle_exception(self, exception) -> None: ...
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.validation_error import ValidationError as ValidationError
|
||||
|
||||
class ValidationErrorCollection:
|
||||
data: Any
|
||||
def __init__(self, data: Any | None = ...) -> None: ...
|
||||
def __init__(self, data: Incomplete | None = ...) -> None: ...
|
||||
@property
|
||||
def deep_errors(self): ...
|
||||
def for_index(self, index): ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
|
||||
class WebhookTesting:
|
||||
@staticmethod
|
||||
def sample_notification(kind, id, source_merchant_id: Any | None = ...): ...
|
||||
def sample_notification(kind, id, source_merchant_id: Incomplete | None = ...): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.util.crypto import Crypto as Crypto
|
||||
@@ -7,4 +8,4 @@ class WebhookTestingGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def sample_notification(self, kind, id, source_merchant_id: Any | None = ...): ...
|
||||
def sample_notification(self, kind, id, source_merchant_id: Incomplete | None = ...): ...
|
||||
|
||||
Reference in New Issue
Block a user