Skip to content

Commit

Permalink
Use the generated API version (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym-stripe committed Jun 21, 2022
1 parent 6b1efe6 commit 6a3c22b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stripe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
# Andrew Metcalf <andrew@stripe.com>

# Configuration variables
from stripe.api_version import _ApiVersion

api_key = None
client_id = None
api_base = "https://api.stripe.com"
connect_api_base = "https://connect.stripe.com"
upload_api_base = "https://files.stripe.com"
api_version = None
api_version = _ApiVersion.CURRENT
verify_ssl_certs = True
proxy = None
default_http_client = None
Expand Down
5 changes: 5 additions & 0 deletions stripe/api_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# File generated from our OpenAPI spec


class _ApiVersion:
CURRENT = "2020-08-27"

0 comments on commit 6a3c22b

Please sign in to comment.