File: __init__.py

package info (click to toggle)
python-stripe 12.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,864 kB
  • sloc: python: 157,573; makefile: 13; sh: 9
file content (28 lines) | stat: -rw-r--r-- 900 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from typing_extensions import TYPE_CHECKING
from warnings import warn

warn(
    """
    The stripe.api_resources.tax package is deprecated, please change your
    imports to import from stripe.tax directly.
    From:
      from stripe.api_resources.tax import ...
    To:
      from stripe.tax import ...
    """,
    DeprecationWarning,
    stacklevel=2,
)
if not TYPE_CHECKING:
    from stripe.api_resources.tax.calculation import Calculation
    from stripe.api_resources.tax.calculation_line_item import (
        CalculationLineItem,
    )
    from stripe.api_resources.tax.registration import Registration
    from stripe.api_resources.tax.settings import Settings
    from stripe.api_resources.tax.transaction import Transaction
    from stripe.api_resources.tax.transaction_line_item import (
        TransactionLineItem,
    )