Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/services/HelpersService.ts>HelpersService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class HelpersService
import { HelpersService } from "https://deno.land/x/windmill@v1.246.4/windmill-api/services/HelpersService.ts";

Static Methods

datasetStorageTestConnection(unnamed 0: { workspace: string; }): CancelablePromise<any>

Test connection to the workspace datasets storage

deleteS3File(unnamed 0: { workspace: string; fileKey: string; }): CancelablePromise<any>

Permanently delete file from S3

duckdbConnectionSettings(unnamed 0: { workspace: string; requestBody: { s3_resource?: S3Resource; }; }): CancelablePromise<{ connection_settings_str?: string; }>

Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket

duckdbConnectionSettingsV2(unnamed 0: { workspace: string; requestBody: { s3_resource_path?: string; }; }): CancelablePromise<{ connection_settings_str: string; }>

Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket

listStoredFiles(unnamed 0: { workspace: string; maxKeys: number; marker?: string; }): CancelablePromise<{ next_marker?: string; windmill_large_files: Array<WindmillLargeFile>; }>

List the file keys available in the workspace files storage (S3)

loadFileMetadata(unnamed 0: { workspace: string; fileKey: string; }): CancelablePromise<WindmillFileMetadata>

Load metadata of the file

loadFilePreview(unnamed 0: { workspace: string; fileKey: string; fileSizeInBytes?: number; fileMimeType?: string; csvSeparator?: string; csvHasHeader?: boolean; readBytesFrom?: number; readBytesLength?: number; }): CancelablePromise<WindmillFilePreview>

Load a preview of the file

moveS3File(unnamed 0: { workspace: string; srcFileKey: string; destFileKey: string; }): CancelablePromise<any>

Move a S3 file from one path to the other within the same bucket

multipartFileUpload(unnamed 0: { workspace: string; requestBody: { file_key: string; part_content?: Array<number>; upload_id?: string; parts: Array<UploadFilePart>; is_final: boolean; cancel_upload: boolean; s3_resource_path?: string; }; }): CancelablePromise<{ upload_id: string; parts: Array<UploadFilePart>; is_done: boolean; }>

Upload file to S3 bucket using multipart upload

polarsConnectionSettings(unnamed 0: { workspace: string; requestBody: { s3_resource?: S3Resource; }; }): CancelablePromise<{ endpoint_url: string; key?: string; secret?: string; use_ssl: boolean; cache_regions: boolean; client_kwargs: PolarsClientKwargs; }>

Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket

polarsConnectionSettingsV2(unnamed 0: { workspace: string; requestBody: { s3_resource_path?: string; }; }): CancelablePromise<{ s3fs_args: { endpoint_url: string; key?: string; secret?: string; use_ssl: boolean; cache_regions: boolean; client_kwargs: PolarsClientKwargs; }; storage_options: { aws_endpoint_url: string; aws_access_key_id?: string; aws_secret_access_key?: string; aws_region: string; aws_allow_http: string; }; }>

Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket

s3ResourceInfo(unnamed 0: { workspace: string; requestBody: { s3_resource_path?: string; }; }): CancelablePromise<S3Resource>

Returns the s3 resource associated to the provided path, or the workspace default S3 resource