1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from typing_extensions import TYPE_CHECKING
from warnings import warn
warn(
"""
The stripe.api_resources.setup_intent package is deprecated, please change your
imports to import from stripe directly.
From:
from stripe.api_resources.setup_intent import SetupIntent
To:
from stripe import SetupIntent
""",
DeprecationWarning,
stacklevel=2,
)
if not TYPE_CHECKING:
from stripe._setup_intent import ( # noqa
SetupIntent,
)
|