I hereby claim:
- I am ycd on github.
- I am yagizdegirmenci (https://keybase.io/yagizdegirmenci) on keybase.
- I have a public key ASCXMnnZw4q5U9AOkk2KLoqFx713fbRA2PJ5tFh6NMAecAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import logging | |
import json | |
import asyncio | |
from typing import Dict, Any | |
from threading import Thread | |
import confluent_kafka | |
from confluent_kafka.cimpl import KafkaException |
stages: | |
- test | |
- deploy | |
test: | |
stage: test | |
image: golang:1.15-alpine | |
script: | |
- apk add build-base | |
- go test $(go list ./... | grep -v /vendor/) |
app = (lambda fastapi, typing: (lambda app: (app,app.get("/")(lambda: {"Quite ": "ugly"}),app.post("/annotate",)(lambda x, y: {"How to annotate this": int(x) + int(y)}),)[0])(fastapi.FastAPI()))(__import__("fastapi"), __import__("typing")) |
def send_100_requests(): | |
URL = "http://httpbin.org/uuid" | |
result = [] | |
async def send_request(): | |
r = requests.get(URL) | |
result.append(r.text) | |
async def main(): |