File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
syncmaster/schemas/v1/transfers/file Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,11 @@ class ReadFileTransferSource(BaseModel):
2020
2121class ReadFileTransferTarget (BaseModel ):
2222 directory_path : str
23+ # JSON format is not supported for writing
2324 file_format : CSV | JSONLine | Excel | XML = Field (
2425 ...,
2526 discriminator = "type" ,
26- ) # JSON format is not supported for writing
27+ )
2728 options : dict [str , Any ]
2829
2930
@@ -47,10 +48,11 @@ def _directory_path_is_valid_path(cls, value):
4748
4849class CreateFileTransferTarget (BaseModel ):
4950 directory_path : str
51+ # JSON format is not supported as a target
5052 file_format : CSV | JSONLine | Excel | XML = Field (
5153 ...,
5254 discriminator = "type" ,
53- ) # JSON FORMAT IS NOT SUPPORTED AS A TARGET !
55+ )
5456 options : dict [str , Any ] = Field (default_factory = dict )
5557
5658 class Config :
You can’t perform that action at this time.
0 commit comments