windmill-client 1.213.0 → 1.214.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core/OpenAPI.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export type { PathId } from './models/PathId';
|
|
|
81
81
|
export type { PathScript } from './models/PathScript';
|
|
82
82
|
export type { Payload } from './models/Payload';
|
|
83
83
|
export type { PerPage } from './models/PerPage';
|
|
84
|
+
export type { PolarsClientKwargs } from './models/PolarsClientKwargs';
|
|
84
85
|
export { Policy } from './models/Policy';
|
|
85
86
|
export { Preview } from './models/Preview';
|
|
86
87
|
export { QueuedJob } from './models/QueuedJob';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PolarsClientKwargs } from '../models/PolarsClientKwargs';
|
|
1
2
|
import type { WindmillFileMetadata } from '../models/WindmillFileMetadata';
|
|
2
3
|
import type { WindmillFilePreview } from '../models/WindmillFilePreview';
|
|
3
4
|
import type { WindmillLargeFile } from '../models/WindmillLargeFile';
|
|
@@ -17,6 +18,25 @@ export declare class HelpersService {
|
|
|
17
18
|
}): CancelablePromise<{
|
|
18
19
|
connection_settings_str?: string;
|
|
19
20
|
}>;
|
|
21
|
+
/**
|
|
22
|
+
* Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket
|
|
23
|
+
* @returns any Connection settings
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static polarsConnectionSettings({ workspace, requestBody, }: {
|
|
27
|
+
workspace: string;
|
|
28
|
+
/**
|
|
29
|
+
* S3 resource to connect to
|
|
30
|
+
*/
|
|
31
|
+
requestBody: any;
|
|
32
|
+
}): CancelablePromise<{
|
|
33
|
+
endpoint_url: string;
|
|
34
|
+
key?: string;
|
|
35
|
+
secret?: string;
|
|
36
|
+
use_ssl: boolean;
|
|
37
|
+
cache_regions: boolean;
|
|
38
|
+
client_kwargs: PolarsClientKwargs;
|
|
39
|
+
}>;
|
|
20
40
|
/**
|
|
21
41
|
* Test connection to the workspace datasets storage
|
|
22
42
|
* @returns any Connection settings
|
|
@@ -20,6 +20,22 @@ class HelpersService {
|
|
|
20
20
|
mediaType: 'application/json',
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket
|
|
25
|
+
* @returns any Connection settings
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static polarsConnectionSettings({ workspace, requestBody, }) {
|
|
29
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
30
|
+
method: 'POST',
|
|
31
|
+
url: '/w/{workspace}/job_helpers/polars_connection_settings',
|
|
32
|
+
path: {
|
|
33
|
+
'workspace': workspace,
|
|
34
|
+
},
|
|
35
|
+
body: requestBody,
|
|
36
|
+
mediaType: 'application/json',
|
|
37
|
+
});
|
|
38
|
+
}
|
|
23
39
|
/**
|
|
24
40
|
* Test connection to the workspace datasets storage
|
|
25
41
|
* @returns any Connection settings
|