File: converters.pyi

package info (click to toggle)
typeshed 0.0~git20221107.4f381af-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,036 kB
  • sloc: python: 3,216; sh: 62; makefile: 13
file content (30 lines) | stat: -rw-r--r-- 840 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
29
30
import array
from typing import Any

from MySQLdb._exceptions import ProgrammingError as ProgrammingError
from MySQLdb._mysql import string_literal as string_literal
from MySQLdb.constants import FIELD_TYPE as FIELD_TYPE, FLAG as FLAG
from MySQLdb.times import (
    Date as Date,
    Date_or_None as Date_or_None,
    DateTime2literal as DateTime2literal,
    DateTime_or_None as DateTime_or_None,
    DateTimeDelta2literal as DateTimeDelta2literal,
    DateTimeDeltaType as DateTimeDeltaType,
    DateTimeType as DateTimeType,
    TimeDelta_or_None as TimeDelta_or_None,
)

NoneType: Any
ArrayType = array.array

def Bool2Str(s, d): ...
def Set2Str(s, d): ...
def Thing2Str(s, d): ...
def Float2Str(o, d): ...
def None2NULL(o, d): ...
def Thing2Literal(o, d): ...
def Decimal2Literal(o, d): ...
def array2Str(o, d): ...

conversions: Any