Windmill

W

Windmill

Join the community to ask questions about Windmill and get answers from other members.

Join

help

general

changelog

[Solved] How to have a script to search for emails inside Gmail using the resource?

Let me describe what i want to do manually and tell me roughly how to do this inside windmill.dev Manual Steps 1. search inside gmail [DigitalOcean] Your 2024-07 invoice is available and it will generate a list of emails (see attached image)...
No description

AG Grid API

Is there any way to access the AG grid API? I want to create a button to select all the rows at once, and I want to use the API for it, but I can't seem to access it from the component exposed properties

Import tasks from files.

I am trying to make it so each file exports a task that can be imported. ```typescript export async function main(arangodb: Arangodb, databaseName: string, emailAccount: string) { const database = createClient(arangodb)({ databaseName }) ...

lsp pull appears to take a very long time

the download appears to be very slow. 2024-08-14 13:55 UTC is the time...
No description

formatter line length in python

Is there a way to increase the formatted line length? more specifically for python scripts? otherwise tweak the formatter a bit? python statements get verbose quickly and python doesn't want to allow linebreak unless within parenthesis. this looks very weird when you have result = await object_orm.applications.by_id("lelelel").update(the_thing=model.thingie).get(request_params=Header(content_type="text/json")) and turns into basically ``` result = await object_orm.applications.by_id( "lelelel" ).update(the_thing=model.thingie).get(...

Can I do approval by API ?

Can I do approval by API ?

Pushed updated lock but continue inferring

Hi everyone. I'm starting with python scripts I my vs code y test the script with the "use current lock file" and i regenerate the Metadata for that script...

Schedule start time field, or equivalent.

Lets say I have a job that runs every hour, then it suddenly starts failing. For that job, it's extracting data from the DB using the hourly time period. So what I'm looking for is say three consecutive executions fail. I want to be able to rerun each job without manually entering inputs. So if the jobs that wailed were for 1,2 & 3 am. I could rerun the first, and it would have that same input of schedule time "2024-08-14 01:00:00". Then if I rerun it, it will just pull the data from 2024-08-14 00::00:00 - 2024-08-14 01:00:00. This is something I would expect to see in an orchestration system but I can't seem to find it in any of the documentation....

Slack error handler: Resource exists but you don't have access to it

When trying to send a test message for the Slack error handler, the run fails with the following error: `` ExecutionErr: error during execution of the script: Not found: Resource f/slack_bot/bot_token not found for slack`: Not authorized: Resource exists but you don't have access to it:...

Error while executing Bun script: missing sourcemaps

After updating to the latest Windmill Docker image, I started getting this error when running a specific Bun script: ``` ExecutionErr: ExitCode: 1, last log lines: m5...

Settings to optimize for large SQL queries?

Hello, is there anything I can do or that I should keep in mind to make sure that large SQL queries run better or even finish at all? I am testing the response time for different tools with large amounts of data (starting from 500.000 rows with two columns) and am running into indefinitely loading queries in windmill pretty quickly. I am using self-hosted on docker. Thanks

[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted

So my admin account for self-hosted is using the same email as my google oAuth. So when i tried to login as google I get this error message ...
No description

Self hosted. how to use approval or input step to manually key in login credentials?

I want a script that will perform some actions in substack. The key part is that the script needs to login as me first. I have looked at https://www.windmill.dev/docs/flows/flow_approval and there's such a thing as an approval step. is it possible using chromium worker and then using an approval step for me to manually key in my login credentials (which includes 2FA) then performs additional step?...

Kicking tires. Where are the script source files located in the local file system?

I tried to run a local executable and the windmill script did not find it; neither bash nor ptyhon. I provided full path. (running in docker, on mac)

admin context

Hello, how can i know if the user viewing an app created by a developer is a superadmin/admin. In app builders context i am not getting any such values that can diffrentiate between normal users and admins....

How to control a Database studio component using an external button

I'm trying to make the "Add row" button function such that when I press it, a new row gets added to the database studio. How exactly do i reference the database studio in an inscript? Or how exactly do i proceed to achieve this? Sorry I'm very new to Windmill. Thanks.
No description

Form State Resets on Tab Changes

I’ve encountered an issue where form fields within tabs lose their content when switching tabs. Interestingly, standard input fields (not wrapped in forms) within tabs retain their values correctly. It seems that the reset behavior specifically affects forms within the tab structure. Is this an intended feature or a known limitation in Windmill? If so, could anyone advise on best practices to maintain form state across tab switches? Any guidance or workarounds would be helpful. For now, I’ve implemented a workaround by storing the form values in the state on change and connecting this state to the default values of the form. This approach works for most input types, but I’ve noticed that date selection fields are not able to use the stored values as default values, unlike other input types....

[Solved] Browser automation self-hosted: python example for initial login

i have a use case where i need to login to substack manually using my username and password. then followed by my TOTP MFA code. once that's done, i want the rest of the browser automation take over in terms of downloading invoices. I found https://www.windmill.dev/docs/advanced/browser_automation but the examples are all not python....

Escape the prompt field in order to insert previous result in to to body of an OpenAI Completion?

Hi, hoping someone can provide a quick pointer. I'm trying to send a bit of JSON to a Completions model to get a text summary, but I can't seem to escape the field. Any hints?
No description