File: _base_address.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 (12 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
from typing import Optional
from typing_extensions import NotRequired, TypedDict, Literal


BaseAddress = Literal["api", "files", "connect", "meter_events"]


class BaseAddresses(TypedDict):
    api: NotRequired[Optional[str]]
    connect: NotRequired[Optional[str]]
    files: NotRequired[Optional[str]]
    meter_events: NotRequired[Optional[str]]