This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import randint | |
from fastapi import FastAPI | |
app = FastAPI() | |
@app.get("/") | |
async def root(): | |
# cust_id, risk_score [1-100] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
import uuid | |
from contextlib import contextmanager | |
from datetime import datetime | |
from typing import Any, List, Tuple | |
import boto3 | |
import psycopg2 | |
from faker import Faker |