Skip to content

Instantly share code, notes, and snippets.

View ggm1207's full-sized avatar
๐Ÿ’Ÿ
love

Goo Gunmo ggm1207

๐Ÿ’Ÿ
love
View GitHub Profile
@ggm1207
ggm1207 / bolt_cloud_functions_sample.py
Created May 12, 2022 02:20
Code that cannot be Slack/Install when deployed to cloud functions
import logging
import os
import sqlalchemy
from flask import Flask, request
from google.cloud.sql.connector import connector
from slack_bolt import App
from slack_bolt.adapter.flask import SlackRequestHandler
from slack_bolt.oauth.oauth_settings import OAuthSettings
from slack_sdk.oauth import installation_store