Bu yerda oddiy veb-serverning misollari mavjud, u odamlarning namunaviy lug'atlarini Python-dagi Flask kutubxonasi yordamida JSON sifatida taqdim etadi: from flask import Flask, jsonify from enum import Enum app = Flask ((__name__) Gender = Enum (('Gender', ['FEMALE', 'MALE', 'OTHER']) people = { 'c998939787fc3d5c': { 'names': ('Jordan','surname': 'Peters', 'gender': G.MALE, 'phone_number': '555-0183', }, 'b747c9143ac84eb0': { 'names': ('Jun', 'Junie'),'surname': 'Richardson', 'gender': G.Flask import
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence