Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1 

2from enum import Enum 

3 

4 

5class DataExchangeTypes(Enum): 

6 sftp = "sftp" 

7 s3 = "s3" 

8 db = "db" 

9 snowflake = "snowflake" 

10 odbc = "odbc" 

11 xcom_airflow = "xcom_airflow" 

12 local_disk = "local_disk" 

13 

14 

15class MockExchangeTypes(Enum): 

16 mock = "mock" 

17 

18 

19class FileExchangeTypes(Enum): 

20 sftp = "sftp" 

21 s3 = "s3" 

22 local_disk = "local_disk" 

23 

24 

25class DatabaseExchangeTypes(Enum): 

26 snowflake = "snowflake" 

27 odbc = "odbc" 

28 

29 

30class NoSqlDatabaseExchangeTypes(Enum): 

31 dynamodb = "dynamodb" 

32 

33 

34class APIExchangeTypes(Enum): 

35 api = "api" 

36 

37 

38class ExchangeResultTypes(Enum): 

39 ERROR = "ERROR" 

40 SUCCESS = "SUCCESS" 

41 EMPTY = "EMPTY" 

42 NODATA = "NO-DATA-RETURNED" 

43 

44 

45class FileResultTypes(Enum): 

46 error = "ERROR" 

47 success = "SUCCESS" 

48 empty = "EMPTY" 

49 

50 

51class APIResultTypes(Enum): 

52 error = "ERROR" 

53 success = "SUCCESS" 

54 nodata = "NO-DATA-RETURNED" 

55