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.229.0/windmill-api/services/HelpersService.ts";

Static Methods

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

Test connection to the workspace datasets storage

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 worspace 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

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; }; polars_cloud_options: { aws_endpoint_url: string; aws_access_key_id?: string; aws_secret_access_key?: string; aws_region: string; aws_allow_http: boolean; }; }>

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