22 lines
550 B
Python
22 lines
550 B
Python
# -*- coding: utf-8 -*-
|
|
# File generated from our OpenAPI spec
|
|
from typing_extensions import TYPE_CHECKING
|
|
from warnings import warn
|
|
|
|
warn(
|
|
"""
|
|
The stripe.api_resources.exchange_rate package is deprecated, please change your
|
|
imports to import from stripe directly.
|
|
From:
|
|
from stripe.api_resources.exchange_rate import ExchangeRate
|
|
To:
|
|
from stripe import ExchangeRate
|
|
""",
|
|
DeprecationWarning,
|
|
stacklevel=2,
|
|
)
|
|
if not TYPE_CHECKING:
|
|
from stripe._exchange_rate import ( # noqa
|
|
ExchangeRate,
|
|
)
|