File: _base_address.py

package info (click to toggle)
python-stripe 13.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,476 kB
  • sloc: python: 187,843; makefile: 13; sh: 9
file content (12 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
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]]