Skip to content

Commit ba6598e

Browse files
committed
Annotate braintree's Subscription.find() and Transaction.find()
1 parent 1559678 commit ba6598e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stubs/braintree/braintree/subscription.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Subscription(Resource):
3131
@staticmethod
3232
def create_signature(): ...
3333
@staticmethod
34-
def find(subscription_id): ...
34+
def find(subscription_id: str) -> Subscription: ...
3535
@staticmethod
3636
def retry_charge(subscription_id, amount=None, submit_for_settlement: bool = False): ...
3737
@staticmethod

stubs/braintree/braintree/transaction.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Transaction(Resource):
102102
@staticmethod
103103
def credit(params=None): ...
104104
@staticmethod
105-
def find(transaction_id): ...
105+
def find(transaction_id: str) -> Transaction: ...
106106
@staticmethod
107107
def refund(transaction_id, amount_or_options=None): ...
108108
@staticmethod

0 commit comments

Comments
 (0)