You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: (experimental) Describes how to fetch a file
1454
+
type: object
1455
+
required:
1456
+
- type
1457
+
- requester
1458
+
- download_target_extractor
1459
+
properties:
1460
+
type:
1461
+
type: string
1462
+
enum: [ FileUploader ]
1463
+
requester:
1464
+
description: Requester component that describes how to prepare HTTP requests to send to the source API.
1465
+
anyOf:
1466
+
- "$ref": "#/definitions/CustomRequester"
1467
+
- "$ref": "#/definitions/HttpRequester"
1468
+
download_target_extractor:
1469
+
description: Responsible for fetching the url where the file is located. This is applied on each records and not on the HTTP response
1470
+
anyOf:
1471
+
- "$ref": "#/definitions/CustomRecordExtractor"
1472
+
- "$ref": "#/definitions/DpathExtractor"
1473
+
file_extractor:
1474
+
description: Responsible for fetching the content of the file. If not defined, the assumption is that the whole response body is the file content
1475
+
anyOf:
1476
+
- "$ref": "#/definitions/CustomRecordExtractor"
1477
+
- "$ref": "#/definitions/DpathExtractor"
1478
+
filename_extractor:
1479
+
description: Defines the name to store the file. Stream name is automatically added to the file path. File unique ID can be used to avoid overwriting files. Random UUID will be used if the extractor is not provided.
description="Responsible for fetching the content of the file. If not defined, the assumption is that the whole response body is the file content",
2082
+
)
2083
+
filename_extractor: Optional[str] =Field(
2084
+
None,
2085
+
description="Defines the name to store the file. Stream name is automatically added to the file path. File unique ID can be used to avoid overwriting files. Random UUID will be used if the extractor is not provided.",
0 commit comments