We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88d8712 commit 1631ec4Copy full SHA for 1631ec4
1 file changed
run/events-storage/main.py
@@ -11,19 +11,16 @@
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
-# [START run_events_gcs_server_setup]
+# [START run_events_gcs_handler]
15
import os
16
17
from flask import Flask, request
18
19
20
required_fields = ['Ce-Id', 'Ce-Source', 'Ce-Type', 'Ce-Specversion']
21
-
22
app = Flask(__name__)
23
-# [END run_events_gcs_server_setup]
24
25
26
-# [START run_events_gcs_handler]
27
@app.route('/', methods=['POST'])
28
def index():
29
for field in required_fields:
0 commit comments