<commit_before>import requests, json
from flask import Flask, request, jsonify

app = Flask(__name__)

@app.route("/weather", methods = ['POST', 'GET'])
def weather():
    return jsonify( { "0": "OK" } )

if __name__ == "__main__":
    app.run(host='0.0.0.0')<commit_msg>Some doc for weather service<commit_after>import requests, json
from flask import Flask, request, jsonify

app = Flask(__name__)

@app.route("/weather", methods = ['POST'])
def weather():
    """
    INPUT BUNDLE: {'0': latitude, '1': longitude, '2': unit (f or c)}
    E.G. {'0': 439596, '1': 109551, '2': 'f'}

    OUTPUT BUNDLE: {'0': weather condition, '1': temperature}
    E.G. {'0': 1, '1': 78}
    """
    return jsonify( {'0': 1, '1': 78} )

if __name__ == "__main__":
    app.run(host='0.0.0.0')
{'fraction_non_alphanumeric': 0.20747422680412372, 'fraction_numerical': 0.05025773195876289, 'mean_word_length': 3.8867924528301887, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1308763', 'n_tokens_mistral': 309, 'n_tokens_neox': 288, 'n_words': 84}