-
Notifications
You must be signed in to change notification settings - Fork 141
Expand file tree
/
Copy pathenums.py
More file actions
42 lines (30 loc) · 837 Bytes
/
enums.py
File metadata and controls
42 lines (30 loc) · 837 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
from enum import Enum
class AuthFlow(Enum):
TOKEN_PASSTHROUGH = "token_passthrough"
BROWSER_BASED_AUTHENTICATION = "browser_based_authentication"
class AuthMech(Enum):
OTHER = "OTHER"
PAT = "PAT"
OAUTH = "OAUTH"
EXTERNAL = "EXTERNAL"
class DatabricksClientType(Enum):
SEA = "SEA"
THRIFT = "THRIFT"
class DriverVolumeOperationType(Enum):
TYPE_UNSPECIFIED = "type_unspecified"
PUT = "put"
GET = "get"
DELETE = "delete"
LIST = "list"
QUERY = "query"
class ExecutionResultFormat(Enum):
FORMAT_UNSPECIFIED = "format_unspecified"
INLINE_ARROW = "inline_arrow"
EXTERNAL_LINKS = "external_links"
COLUMNAR_INLINE = "columnar_inline"
class StatementType(Enum):
NONE = "none"
QUERY = "query"
SQL = "sql"
UPDATE = "update"
METADATA = "metadata"