kimsia
kimsia
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
ok i can finally search emails inside gmail
15 replies
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
meaning to say the warning is wrong, so i can just use as is? or i have to wait till new version before i can use?
15 replies
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
this is the warning
Argument of type "Literal['token']" cannot be assigned to parameter "key" of type "SupportsIndex | slice" in function "__getitem__"
Type "Literal['token']" is incompatible with type "SupportsIndex | slice"
"Literal['token']" is incompatible with protocol "SupportsIndex"
"__index__" is not present
"Literal['token']" is incompatible with "slice"PyrightreportArgumentType
Argument of type "Literal['token']" cannot be assigned to parameter "key" of type "SupportsIndex | slice" in function "__getitem__"
Type "Literal['token']" is incompatible with type "SupportsIndex | slice"
"Literal['token']" is incompatible with protocol "SupportsIndex"
"__index__" is not present
"Literal['token']" is incompatible with "slice"PyrightreportArgumentType
15 replies
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
this is my code
def main(query: str):
print(f"Hello World and a warm welcome search_gmail")

gmail_resource = wmill.get_resource("u/kimsia/picturesque_gmail")
oauth_token = gmail_resource["token"]
def main(query: str):
print(f"Hello World and a warm welcome search_gmail")

gmail_resource = wmill.get_resource("u/kimsia/picturesque_gmail")
oauth_token = gmail_resource["token"]
15 replies
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
No description
15 replies
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
15 replies
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
No description
15 replies
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
because when i go to https://hub.windmill.dev/resource_types/38/gmail, all i see is token
15 replies
WWindmill
Created by kimsia on 8/21/2024 in #help
[Solved] How to have a script to search for emails inside Gmail using the resource?
so you mean
gmail_resource = wmill.get_resource("u/kimsia/picturesque_gmail")
# do something with gmail_resource.token
gmail_resource = wmill.get_resource("u/kimsia/picturesque_gmail")
# do something with gmail_resource.token
like that?
15 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
What I owe windmill: 1. a suggested PR on how to add gmail as resource on the docs Note to self: - take this https://www.windmill.dev/docs/misc/setup_oauth#oauth-resources and make it more like https://www.windmill.dev/docs/integrations/gmail or simply link the two currently unsure. will decide again on weekend
67 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
since it's an extension isssue, i won't create the loom
67 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
i also just realizd that it's ok to NOT use google for login and still use gmail as resource
67 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
ok never mind i think the issue is due to one of my extensions in edge. no idea which one it is. i will find out.
67 replies
WWindmill
Created by kimsia on 8/14/2024 in #help
lsp pull appears to take a very long time
lsp:
image: ghcr.io/windmill-labs/windmill-lsp:latest
pull_policy: always
restart: unless-stopped
expose:
- 3001
volumes:
- lsp_cache:/root/.cache
lsp:
image: ghcr.io/windmill-labs/windmill-lsp:latest
pull_policy: always
restart: unless-stopped
expose:
- 3001
volumes:
- lsp_cache:/root/.cache
this is the lsp in the docker-compose.yml
3 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
I’ve knocked off work so I will try to replicate on loom tomorrow to show u
67 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
No description
67 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
oh i get it now. when i switched to using chrome away from edge I can now see the form to add the resource and save it
67 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
also how do i remove access to the gdrive once i am done experimenting? never mind. i figured out how
67 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
No description
67 replies
WWindmill
Created by kimsia on 8/5/2024 in #help
[Solved] Admin account and Google oAuth use the same email - how to resolve? Self hosted
so i'll wait for the verification first?
67 replies