|
8 | 8 | from syncmaster.schemas.v1.connections.clickhouse import ( |
9 | 9 | CreateClickhouseConnectionSchema, |
10 | 10 | ReadClickhouseConnectionSchema, |
11 | | - UpdateClickhouseConnectionSchema, |
12 | 11 | ) |
13 | 12 | from syncmaster.schemas.v1.connections.ftp import ( |
14 | 13 | CreateFTPConnectionSchema, |
15 | 14 | ReadFTPConnectionSchema, |
16 | | - UpdateFTPConnectionSchema, |
17 | 15 | ) |
18 | 16 | from syncmaster.schemas.v1.connections.ftps import ( |
19 | 17 | CreateFTPSConnectionSchema, |
20 | 18 | ReadFTPSConnectionSchema, |
21 | | - UpdateFTPSConnectionSchema, |
22 | 19 | ) |
23 | 20 | from syncmaster.schemas.v1.connections.hdfs import ( |
24 | 21 | CreateHDFSConnectionSchema, |
25 | 22 | ReadHDFSConnectionSchema, |
26 | | - UpdateHDFSConnectionSchema, |
27 | 23 | ) |
28 | 24 | from syncmaster.schemas.v1.connections.hive import ( |
29 | 25 | CreateHiveConnectionSchema, |
30 | 26 | ReadHiveConnectionSchema, |
31 | | - UpdateHiveConnectionSchema, |
32 | 27 | ) |
33 | 28 | from syncmaster.schemas.v1.connections.mssql import ( |
34 | 29 | CreateMSSQLConnectionSchema, |
35 | 30 | ReadMSSQLConnectionSchema, |
36 | | - UpdateMSSQLConnectionSchema, |
37 | 31 | ) |
38 | 32 | from syncmaster.schemas.v1.connections.mysql import ( |
39 | 33 | CreateMySQLConnectionSchema, |
40 | 34 | ReadMySQLConnectionSchema, |
41 | | - UpdateMySQLConnectionSchema, |
42 | 35 | ) |
43 | 36 | from syncmaster.schemas.v1.connections.oracle import ( |
44 | 37 | CreateOracleConnectionSchema, |
45 | 38 | ReadOracleConnectionSchema, |
46 | | - UpdateOracleConnectionSchema, |
47 | 39 | ) |
48 | 40 | from syncmaster.schemas.v1.connections.postgres import ( |
49 | 41 | CreatePostgresConnectionSchema, |
50 | 42 | ReadPostgresConnectionSchema, |
51 | | - UpdatePostgresConnectionSchema, |
52 | 43 | ) |
53 | 44 | from syncmaster.schemas.v1.connections.s3 import ( |
54 | 45 | CreateS3ConnectionSchema, |
55 | 46 | ReadS3ConnectionSchema, |
56 | | - UpdateS3ConnectionSchema, |
57 | 47 | ) |
58 | 48 | from syncmaster.schemas.v1.connections.samba import ( |
59 | 49 | CreateSambaConnectionSchema, |
60 | 50 | ReadSambaConnectionSchema, |
61 | | - UpdateSambaConnectionSchema, |
62 | 51 | ) |
63 | 52 | from syncmaster.schemas.v1.connections.sftp import ( |
64 | 53 | CreateSFTPConnectionSchema, |
65 | 54 | ReadSFTPConnectionSchema, |
66 | | - UpdateSFTPConnectionSchema, |
67 | 55 | ) |
68 | 56 | from syncmaster.schemas.v1.connections.webdav import ( |
69 | 57 | CreateWebDAVConnectionSchema, |
70 | 58 | ReadWebDAVConnectionSchema, |
71 | | - UpdateWebDAVConnectionSchema, |
72 | 59 | ) |
73 | 60 | from syncmaster.schemas.v1.page import PageSchema |
74 | 61 | from syncmaster.schemas.v1.types import NameConstr |
|
105 | 92 | | ReadSambaConnectionSchema, |
106 | 93 | Field(discriminator="type"), |
107 | 94 | ] |
108 | | -UpdateConnectionSchema = Annotated[ |
109 | | - UpdateOracleConnectionSchema |
110 | | - | UpdatePostgresConnectionSchema |
111 | | - | UpdateMySQLConnectionSchema |
112 | | - | UpdateMSSQLConnectionSchema |
113 | | - | UpdateClickhouseConnectionSchema |
114 | | - | UpdateHiveConnectionSchema |
115 | | - | UpdateHDFSConnectionSchema |
116 | | - | UpdateS3ConnectionSchema |
117 | | - | UpdateSFTPConnectionSchema |
118 | | - | UpdateFTPConnectionSchema |
119 | | - | UpdateFTPSConnectionSchema |
120 | | - | UpdateWebDAVConnectionSchema |
121 | | - | UpdateSambaConnectionSchema, |
122 | | - Field(discriminator="type"), |
123 | | -] |
124 | 95 |
|
125 | 96 |
|
126 | 97 | class ConnectionCopySchema(BaseModel): |
|
0 commit comments