Skip to content

Commit 0ab9d34

Browse files
Merge pull request #1648 from stripe/prathmesh/merge-python-private-preview
Prathmesh/merge python private preview
2 parents fae19d4 + 60b0a67 commit 0ab9d34

File tree

685 files changed

+55174
-21181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

685 files changed

+55174
-21181
lines changed

examples/event_notification_webhook_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import os
2020
from stripe import StripeClient
2121
from stripe.events import UnknownEventNotification
22+
from stripe.events import ALL_EVENT_NOTIFICATIONS
2223

2324
from flask import Flask, request, jsonify
2425

justfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,13 @@ update-version version:
8686
perl -pi -e 's|VERSION = "[.\d\w]+"|VERSION = "{{ version }}"|' stripe/_version.py
8787
perl -pi -e 's|^version = "[.\d\w]+"|version = "{{ version }}"|' pyproject.toml
8888

89+
90+
[private]
91+
profile-imports name:
92+
python -X importtime stripe/main.py 2> {{ name }}.txt
93+
tuna {{ name }}.txt
94+
95+
[private]
96+
profile name:
97+
python -m cProfile -o {{ name }}.prof stripe/main.py
98+
tuna {{ name }}.prof

0 commit comments

Comments
 (0)